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: [[-8, -27, -44, -40], [-22, 29], [26, -8, 0], [23, -36, -20, -17, -39], [-20, -50, -28, -12, 24], [36, -29], [25, 40, 14, -32, 40]]

A: [-27, 29, 0, 15249, 0, -29, 25]
****
Q: [[-13, 27, 36], [10, -42, -4, 41, 28], [-23, -37, 24, -40, 19], [14, 18, 46, -49], [-49, 37, -10], [29, -40, -48, -47], [22, -35, -26, -33], [-18, 11, 5], [-7, 26], [24, -21, -42], [-38, -26, 18], [30, -35, -23, -29, -48], [37, 29, -47, -47], [-2, 4, -6], [-28, 24, 15, 10, -2]]

A: [-351, 41, 16169, -49, -1813, -1363, 1155, 55, -7, -21, 0, -23345, 2370257, 0, 15]
****
Q: [[-20, -17, -19], [29, 33, 4], [37, 1, 36, 28, -33]]

A:
[323, 957, -1221]
****