Task: Program Execution
Input (English): [[47, 0], [27, 20], [-29, 37, -27], [-14, 26], [-43, 42, -28, 40], [45, -17, -32]]
Output (English): [0, 540, 28971, -364, 2022720, 24480]