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: [[-2, 16, -17], [34, -41, 9, 38], [-14, 13, -40, -3]]

A: [-32, 1292, 560]
****
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: [[36, -14], [-40, -39, -23, 4], [12, 14, 12, 28], [-6, -27, -36, -29], [-19, -47, 50], [2, 47, -43], [-2, 50, -21], [5, 17], [16, -24], [42, 5, -20, -12, -6], [21, -38, 5, 30], [-27, 45, 4, 40]]

A:
[-504, -160, 56448, 216, 50, 2, -100, 0, -384, -60480, -1140, 160]
****