Task: Program Execution
Input (English): [[47, -18], [14, -17, -3], [1, 40, -45], [-37, -25]]
Output (English): [47, 51, -45, 925]