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.
One example is below.
Q: [[7, -3, -3, 11], [-6, -6, -5, 2], [-8, 4, -3]]
A: [0, 72, -32]
Rationale: The first inner list has no even integers, so the first number in the output is 0. The second list has -6, -6, 2 for even integers so the second output is 72. The third list has -8, 4 as even numbers so the third output is -32. This is a good example.
Q: [[4, 22, -43, 40, 44], [20, -24, -37], [-38, 31], [-46, -21, -13, 18], [28, -31, -23, -49, -24], [-1, -13], [-1, -43], [42, -1], [-33, 7, 29], [-21, -44, -6, -37, -48], [9, 32], [-31, 9, 34, 9, -24], [15, 24]]
A:
[154880, -480, -38, -828, -672, 0, 0, 42, 0, -12672, 32, -816, 24]