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: [[1, 12], [8, -4], [-46, 27, 11, 20], [36, 42, 0, -14], [0, 18, 20], [-35, 46], [-2, -12, 22, -7, -31], [47, 41], [35, 50], [50, -1]]

A: [1, 0, 297, 0, 0, -35, 217, 1927, 35, -1]
****
Q: [[-8, -1, -36, 35, 31], [-11, -32, 33, 35, -10], [35, -9, 8], [-6, -9, 10, 22], [-10, 19, -37, -40]]

A: [-1085, -12705, -315, -9, -703]
****
Q: [[-47, -40, 41, -5, -4], [-50, 26], [21, -26], [-6, -50, 34], [-10, 19, -47], [-43, -48, -45, -16, 46], [10, -36, 18, -46], [4, 32, -1, -31], [9, 36, 42, 13, 41], [11, -30, -7, -22, 21], [50, -15], [36, -22, 23], [19, 17, -9, -10]]

A:
[9635, 0, 21, 0, -893, 1935, 0, 31, 4797, -1617, -15, 23, -2907]
****