Task: Program Execution
Input (English): [[-40, -2, 47], [41, 22, -43], [-20, -18], [4, -49, -20, 13], [-31, 32, 45, 35]]
Output (English): [80, 22, 360, -80, 32]