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: [[46, 1, -47, 6, 21], [-32, -37], [18, 14, -31], [28, 42], [-17, -14, -38, 34, -32], [27, -50, 27, -44, 35], [-37, 1], [-1, 1, -20, -24], [43, -19, -5, -38, 40], [-36, 48, -10]]

A: [276, -32, 252, 1176, -578816, 2200, 0, 480, -1520, 17280]
****
Q: [[-13, -41, -3, 42], [-14, 16, -42, 2, -28], [46, 3, -3, 35], [-45, -24], [45, 33, -24, -6, 4], [38, 15, -3], [18, -16], [-50, 8, -17, 8, 12], [29, -28, -16, 35, -22], [33, 13], [-21, -13, 9, 12, -8], [14, -7], [5, -2, 6, 17, 40], [10, -18]]

A: [42, -526848, 46, -24, 576, 38, -288, -38400, -9856, 0, -96, 14, -480, -180]
****
Q: [[-47, -12], [-8, 49], [25, 34, 15, -4, -42], [-43, -6, 7, -44, -50], [44, -28, -13, -38], [-50, -49], [2, 7, 39], [25, 4, 16, -22, 40]]

A:
[-12, -8, 5712, -13200, 46816, -50, 2, -56320]
****