Task: Program Execution
Input (English): [[43, 11, 18, 20, 40], [41, 24, -8], [-16, -30, 34, -48, -29], [-1, -23], [20, 21, -14, -14], [-33, -39], [-40, 18], [10, 4, 42, 50, -38]]
Output (English): [473, 41, -29, 23, 21, 1287, 0, 0]