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, -18, -16, -33], [-42, -28, 50, -45], [31, 32, -49, -18], [-9, 6, -3], [-1, 31, -8], [8, 39]]

A: [-1287, -45, -1519, 27, -31, 39]
****
Q: [[23, 34, -40, -48, -42], [-11, 30, 43, -39], [0, -31], [-22, -50], [45, -3, 34], [-4, 14, 2, 27], [-29, 44], [26, -21, 48], [-38, -46, -28], [14, -17, 43], [45, 23, 0], [-46, -24, -15], [9, -6, 24, 19], [-44, -9], [-20, -26, 31, 44]]

A: [23, 18447, -31, 0, -135, 27, -29, -21, 0, -731, 1035, -15, 171, -9, 31]
****
Q: [[25, 35, 47, -6, -32], [-31, 22, -13, -46], [-37, -36, -36, 48], [-21, 14], [22, -16, -1], [-42, -22], [6, -37, 41], [36, -29, -44, -18]]

A:
[41125, 403, -37, -21, -1, 0, -1517, -29]
****