Task: Program Execution
Input (English): [[8, -31, -14, 32, -18], [40, 16], [-24, 40], [46, 35], [33, -7, -6, 46], [36, 5, -12, 48], [-14, -37, 7, 49], [12, -3], [-23, 33, -17, -47]]
Output (English): [64512, 640, -960, 46, -276, -20736, -14, 12, 0]