Task: Program Execution
Input (English): [[-3, -18], [5, 30, 47, 46], [-45, -31, 28, 24, 47], [-36, 0]]
Output (English): [-18, 1380, 672, 0]