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: [[10, 30], [-12, 18, -9], [-25, 18, 50, 5], [31, 2]]

A: [0, -9, -125, 31]
****
Q: [[38, 9, -17, 32], [-44, -3], [-30, -39, -23, 44, 4], [38, 23, -16, 21], [-48, 23], [-40, 17, -27, 27], [39, 48, -37, -40], [50, 38, 23], [29, 16, -47, -32, -16], [44, 31, -16, -9], [25, -2, -45, -50, 31]]

A: [-153, -3, 897, 483, 23, -12393, -1443, 23, -1363, -279, -34875]
****
Q: [[17, 48, 41, 12], [19, 5, 4], [0, -19], [49, 40, -31, -40], [43, -3, -3, 32], [-28, 6, -44], [-21, 16], [32, 46, -50, -42, 13], [45, 19, 19, -48, 8], [34, -11, 1, -43], [-5, -4, -44, -8], [-8, 0, 26, -9]]

A:
[697, 95, -19, -1519, 387, 0, -21, 13, 16245, 473, -5, -9]
****