Task: Program Execution
Input (English): [40, -82, -23, 40, 18]
Output (English): [122, 59, 63, 22]