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: [[17, -18, 9], [-42, -12], [39, -2, 31, 14], [-16, -9, -20], [19, -30], [47, -29, -40]]

A: [-18, 504, -28, 320, -30, -40]
****
Q: [[-30, -38, -47, -8, -25], [11, -16], [48, -48], [25, 44, -13, -34, -33], [6, -22, -49, -24, -43], [-9, 47, 39, 45], [43, 16, 44, -1], [-37, 18, 48], [31, -36, -8], [-16, -50, 6], [9, -36, -29], [23, 5, -31, 38], [-46, -26, 37], [-47, 24, -6, -9]]

A: [-9120, -16, -2304, -1496, 3168, 0, 704, 864, 288, 4800, -36, 38, 1196, -144]
****
Q: [[31, 37], [-8, 20], [24, -30, 35, 29, 20], [16, -25, -20, 2, 3], [-24, -34, 37, 44], [25, 32, 12, 0], [-38, -36, -35, 10], [28, 18, -6, -23], [28, -12, 29, -32, -33], [-4, -20], [-21, -27, 20]]

A:
[0, -160, -14400, -640, 35904, 0, 13680, -3024, 10752, 80, 20]
****