Task: Program Execution
Input (English): [8, -43, 17, -7, 1, 45, 40]
Output (English): [51, 60, 24, 8, 44, 5]