Task: Program Execution
Input (English): [[-40, -7, 47, -29, 38], [-35, -23], [-19, -30, -50, 10], [21, 2, 10, -12], [-35, -13]]
Output (English): [9541, 805, -19, 21, 455]