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, -1], [-22, -50], [31, -29, 49], [39, -26, -20, -44], [-46, 6, -30, 5, -24], [19, 49, -5], [-26, -1, 5], [47, 14, -16, 13, -32], [40, 8, 29, 5], [40, -43, -14, 37]]

A: [18, 1100, 0, -22880, -198720, 0, -26, 7168, 320, -560]
****
Q: [[-12, 28, 9], [17, 50, 29], [7, 40, 27], [-22, 19, -11, -7, 2], [2, -6, -34], [-10, -35, -41, -3], [-50, 14, -14, -28], [-33, 9, 50, -2, 3], [6, 20, -40, -24, -30], [15, -5, -46, 13, 23], [39, 29], [48, 49, -23, -44]]

A: [-336, 50, 40, -44, 408, -10, -274400, -100, -3456000, -46, 0, -2112]
****
Q: [[-4, -15, -46], [47, -33, 11, 40, 11], [13, -20, -31, -28], [40, -50, -37, -50], [18, -5], [18, 17, -45], [-45, -10, -40, 25], [3, 10], [15, -5, 0, 37], [-10, 42, -29, -13], [33, -8, -49, 25, 19]]

A:
[184, 40, 560, 100000, 18, 18, 400, 10, 0, -420, -8]
****