Task: Program Execution
Input (English): [[1, -39, -7, -29, 8], [17, 16, 45], [-40, 26, 19, 7, 49], [-14, -46, -28, -27], [-17, 5, 25, -19, 22]]
Output (English): [8, 16, -1040, -18032, 22]