Task: Program Execution
Input (English): [[24, -40, 0, 41], [16, -7, -1, -43, 6], [-16, 44], [2, 11, -21], [31, -48, 37]]
Output (English): [41, -301, 0, -231, 1147]