Task: Program Execution
Input (English): [[5, 1], [5, 48, 41], [16, -34, 40], [25, -19], [-14, -28], [-21, -37, 50, 0, -22], [32, 18, -36, 18], [-48, -1, -14, 27, 38], [-23, 20, 16, -29], [-45, -31, -29]]
Output (English): [5, 205, 0, -475, 0, 777, 0, -27, 667, -40455]