Task: Program Execution
Input (English): [[35, 8, -2], [-2, 44], [21, 23, -37, 48], [9, 41], [-42, 23, 49]]
Output (English): [35, 0, -17871, 369, 1127]