Definition: In this task you will be given a list, of lists, of integers. For every inner list contained in the input list, you should multiply every odd number in that list. The output should be a list of integers with the same length as the number of lists in the input list. If there are no odd numbers in an inner list you should output 0 for that list.
Input: [[42, 42, -27, 40], [-18, -28, 8, 9], [-47, -11, -30, -1], [16, -42, -24, 46], [-23, -46, 45, 42, 49], [40, 25, -40, 25], [11, 27], [-31, -24, -20]]
Output:
[-27, 9, -517, 0, -50715, 625, 297, -31]