Task: Program Execution
Input (English): [[-3, -18], [-33, -26], [6, 23, 20, 26, -39], [-5, 24]]
Output (English): [-3, -33, -897, -5]