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: [[-31, -28, -1, 4], [-32, -25, -48, -6, 24], [-5, 2, 23], [21, -34, -49, -8]]

A: [31, -25, -115, -1029]
****
Q: [[13, 23], [-27, 32, 18], [-29, -34], [-31, 2, -43, -37], [0, -18, -29], [-5, -37, -34, -27], [-46, -36, -28, -23], [-17, -4, 3], [14, -12, 49, 39], [42, 23, 38, 48], [3, -28, 31, 0], [17, -35, 49], [26, 23, -29], [-8, 9]]

A: [299, -27, -29, -49321, -29, -4995, -23, -51, 1911, 23, 93, -29155, -667, 9]
****
Q: [[40, -18, 4, -45, 39], [-24, 38, -46, -13], [-2, -32, 14, -21], [-40, -16, -6, -5], [-47, 17, 45, -7, -29], [43, -15, -14], [14, 4, -9, -38], [46, -14, 46], [16, 20, -36, 11], [25, 9], [17, -49, 10, 14], [17, -14], [28, 21, 27], [-26, 20, -35]]

A:
[-1755, -13, -21, -5, -7298865, -645, -9, 0, 11, 225, -833, 17, 567, -35]
****