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: [[-22, -38, 24, -9], [-3, -38, 16], [-23, -24], [-22, -26], [-7, -37], [4, -44, 37, -2, -13]]

A: [-9, -3, -23, 0, 259, -481]
****
Q: [[-46, -6, -45, -1, 45], [36, -15, -34, -22, -31], [-42, -14], [47, -34, 47], [-43, 44], [-25, 24, 7, 40], [32, 22], [16, -6, -16, 47, 50], [-14, -41], [-15, 14, 37, -36, -46], [43, -15, 45], [41, 10, 47, 13]]

A:
[2025, 465, 0, 2209, -43, -175, 0, 47, -41, -555, -29025, 25051]
****