Task: Program Execution
Input (English): [[-33, -7, 47, -24, -18], [-5, 41, -39, -48, -22], [-18, 0, -32, -37, -32], [14, 46], [16, 32, -43], [50, -31]]
Output (English): [10857, 7995, -37, 0, -43, -31]