Task: Program Execution
Input (English): [[7, 41], [-7, -26, 11, 40], [-49, 23, 22], [-5, 17, 6], [3, 48], [4, 50]]
Output (English): [287, -77, -1127, -85, 3, 0]