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: [[-39, 12, -23, -50, 45], [7, -2], [-2, 19, -31], [-40, 40, 40], [5, 35, 6, 14, -15], [-1, 4, 28], [-19, -27, 31], [-34, -3, 21], [43, -29], [-30, -50, -34, -23, -7], [38, 6]]

A: [40365, 7, -589, 0, -2625, -1, 15903, -63, -1247, 161, 0]
****
Q: [[-31, 47, -19, -34, 21], [47, 27, -25], [-12, 8], [48, -5, 43, -40, -10], [-4, 47, 22], [38, 49]]

A: [581343, -31725, 0, -215, 47, 49]
****
Q: [[2, -12], [-12, -32, -48, -38, -27], [33, -22, -19, 22, 13], [-36, -46, 37, -31, -6], [-18, 48, 42, -32, 39], [26, 11], [7, 49, 31], [-28, 23, 10, -39, 46], [7, 39, 22, 36], [-23, -25, 32], [8, -36, 41, 38, 32], [30, -1, -29], [27, -3, -19, 24, -47], [-26, 26], [-10, -9, -28]]

A:
[0, -27, -8151, -1147, 39, 11, 10633, -897, 273, 575, 41, 29, -72333, 0, -9]
****