Task: Program Execution
Input (English): [[47, -2, 35, 27, 9], [-29, -40], [31, 42, -47], [-27, 49], [-37, 26], [17, -14, 35]]
Output (English): [399735, -29, -1457, -1323, -37, 595]