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: [[9, 47, 2], [-10, 24, -2, -4, 25], [-20, 42, -29, 48, -45], [6, 26, 44, 28], [5, 49, -1, 26], [31, -22], [-27, 21, 8, 26], [-37, 26, 44, -35, -36], [28, -30, -21, 50, 38]]

A: [423, 25, 1305, 0, -245, 31, -567, 1295, -21]
****
Q: [[-15, 11], [0, -39, -33, 31], [41, 37, -25, 25], [-9, 48, -36, 1]]

A: [-165, 39897, -948125, -9]
****
Q: [[49, 14, -34], [-36, -34, -45, -35, 42], [33, -11], [29, 46, 13], [22, 41], [-21, 19, 17], [-21, 30], [50, 27], [-40, 37, 5], [-44, -9, 47, 37], [-1, 50], [-18, 47], [35, 3, 28, 3, 1]]

A:
[49, 1575, -363, 377, 41, -6783, -21, 27, 185, -15651, -1, 47, 315]
****