Task: Program Execution
Input (English): [[-39, 2, -47, 36, 2], [8, 24], [-27, 23], [-8, -13, 37], [49, 27]]
Output (English): [1833, 0, -621, -481, 1323]