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: [[-49, 2, 10], [-8, 18, -35], [0, 21, -23, -40], [10, 27]]

A: [20, -144, 0, 10]
****
Q: [[50, 37, 43], [14, -40, -26, -42], [-37, -27, 23, -8], [-1, -26], [-29, 48, -4, -10], [4, 38, 12, -31, 41], [-34, 18, -48, 12, 21], [26, -10, 4, 30], [40, -13, 45, -44, 31], [-25, -10, -33], [-12, -28, 29], [-21, 14, -16, -19, -29], [30, 30, 22, 4], [-24, -5, -7], [-34, -43, -47, 22]]

A: [50, -611520, -8, -26, 1920, 1824, 352512, -31200, -1760, -10, 336, -224, 79200, -24, -748]
****
Q: [[-10, -31, 10], [1, -24, -32, -39, 1], [-35, 34], [39, 36, 38]]

A:
[-100, 768, 34, 1368]
****