Task: Program Execution
Input (English): [[-24, -15, 41, -38, -21], [43, -27], [23, -15, 50, 11, 46], [-37, 12], [47, -33, 31]]
Output (English): [12915, -1161, -3795, -37, -48081]