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 even 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 even numbers in an inner list you should output 0 for that list.

Q: [[-18, -47, 13], [-20, 29, 21, 33, 9], [-29, 28, 29, 24], [39, -10, 3], [12, -8, 9, 36], [3, -43, 47, -13, -8], [-40, -25, 38, 5], [-41, -13, 17], [47, 15, -16, 21], [-7, -47], [4, -47, -16, -3], [-46, 48, 39, 46, -31], [-47, 10, -35, -8], [31, 13, 35], [33, 47, -13, -4, -31]]

A: [-18, -20, 672, -10, -3456, -8, -1520, 0, -16, 0, -64, -101568, -80, 0, -4]
****
Q: [[-25, -49, 33, -19, 25], [23, -9], [-10, -30]]

A: [0, 0, 300]
****
Q: [[12, 22], [-47, -25, -12], [-14, -14, -33, 38], [-43, -13], [-5, 2, -28, 8, -6], [50, 30], [-15, 28]]

A:
[264, -12, 7448, 0, 2688, 1500, 28]
****