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.

Q: [[-6, -35, 11, -49, -40], [42, -17, 16], [-27, -40], [30, -46]]

A: [18865, -17, -27, 0]
****
Q: [[31, -47], [40, -23, 35, -3], [10, -17, 26, -41], [-29, 1], [32, 28, -6], [-33, 19], [-39, 17, 16], [-6, 49, -28, -34, -40], [50, 38, -44, -29, -16], [-26, 42, -20, -31]]

A: [-1457, 2415, 697, -29, 0, -627, -663, 49, -29, -31]
****
Q: [[-36, 42, 8, 35], [-43, -3, -42, 5], [10, -13, 41, 15], [-22, 19, 17], [-37, -31, 16], [-45, 33, -41, -7, -36], [23, 46, -42, -6], [-32, 26], [-15, -2, 44], [-32, -20], [17, -15, -31, -22, -15], [3, -5, -8]]

A:
[35, 645, -7995, 323, 1147, -426195, 23, 0, -15, 0, -118575, -15]
****