Task: Program Execution
Input (English): [[41, -35, 21, -29, 10], [-43, -31], [-2, -40, 29, -25, 18], [-28, 17]]
Output (English): [8739150, 1333, -1044000, -476]