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: [[47, 10], [5, 3], [40, 0], [3, 30, -35], [-2, 3], [33, 7, 42, 12, 29], [-27, 17, -46, 10], [45, -9, -4, -28], [44, 38, 26]]

A: [10, 0, 0, 30, -2, 504, -460, 112, 43472]
****
Q: [[-39, -19, 50], [-33, -11], [-34, -43, -31], [30, -46], [-20, 17], [-4, -9, -22, -44, -5], [-41, -30, -1, 17, 27]]

A:
[50, 0, -34, -1380, -20, -3872, -30]
****