Task: Program Execution
Input (English): [[17, -37], [25, 14, -10], [-19, 42, 9, -4], [34, 18], [40, -35, 12, -31, 5]]
Output (English): [-629, 25, -171, 0, 5425]