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: [[35, -9, 27, -37], [-35, 30, 50], [-9, -28], [27, -33, -8, -22, 29], [18, -2, -2], [2, -47], [-25, -11, -8], [-18, 40, 46, 25, -45], [29, -16, 14], [29, -44, -11, 43, -23], [-19, 7, -27, 45, -42], [-5, -3, 27, 47], [-44, 44, 16]]

A: [314685, -35, -9, -25839, 0, -47, 275, -1125, 29, 315491, 161595, 19035, 0]
****
Q: [[-29, -50, 20, 19, 37], [3, 36], [40, 15, -50], [12, 12, 19], [-13, 50, -24, 28, -34], [-29, 12, -8, 3], [27, 47], [28, 46, 13, -32], [-9, 47, 13, -47], [-44, -8, -38, -43, 41], [26, 45, -45, -12], [-29, -20, -28, -40, 29], [30, 26, 27, -2, -27], [-22, -40, 3, 33, -18], [-12, 43, 18, 22, -14]]

A: [-20387, 3, 15, 19, -13, -87, 1269, 13, 258453, -1763, -2025, -841, -729, 99, 43]
****
Q: [[39, -1, -23], [46, 50, 12], [-15, 48, 33, -44, -34], [-4, 41, -47], [-36, -28], [14, 21, -29], [-23, -48, -18], [-21, -25, 22], [42, -18, 1, 49, 7], [12, 34]]

A:
[897, 0, -495, -1927, 0, -609, -23, 525, 343, 0]
****