Task: Program Execution
Input (English): [[-2, 39], [45, 20, 15], [-30, -14], [-19, -31]]
Output (English): [39, 675, 0, 589]