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: [[-39, 28, -32, -7, 24], [-19, 0, 30, 25, 41], [-17, -20, -31, -9], [13, -6], [-5, -23, -4, 19, 47], [-40, -26, 17, -9]]

A: [-21504, 0, -20, -6, -4, 1040]
****
Q: [[-5, -24, 16, -14, 15], [17, 43, 1], [-49, 17, -27, -18, -24], [49, -31], [-12, 13, 49], [48, 17, 45, 44, -47], [-21, 23]]

A: [5376, 0, 432, 0, -12, 2112, 0]
****
Q: [[-24, -28, 37], [13, -3, -18], [-13, -13, -8, 42], [-1, -50], [-19, -47, -36, -32], [41, -12, 24], [-24, 7], [-47, 33, 15, 15], [-20, -7, 42, -33, -24], [-4, -16, -20], [22, -11, 25, 5, -45], [-15, -8], [-18, 34, -9, 6], [31, -18, 17, 34], [6, 27]]

A:
[672, -18, -336, -50, 1152, -288, -24, 0, 20160, -1280, 22, -8, -3672, -612, 6]
****