Task: Program Execution
Input (English): [[-12, 31, 17, 22, 12], [19, 37, -50], [-35, 29, 35, -14], [45, 49, 20, 16, -49]]
Output (English): [527, 703, -35525, -108045]