Task: Program Execution
Input (English): [[25, -29], [20, -40], [31, -17, 24, -8, -18]]
Output (English): [0, -800, 3456]