Task: Program Execution
Input (English): [[22, 35, 10], [-15, -38, 15, 16], [18, -31], [-7, 7, -41, -29]]
Output (English): [35, -225, -31, -58261]