Task: Program Execution
Input (English): [[12, -41], [30, -47, -9], [-18, 8], [-42, -46], [-7, 4, -31, -2], [42, -18]]
Output (English): [-41, 423, 0, 0, 217, 0]