Task: Program Execution
Input (English): [-18, 76, 92, -65, 12, -40]
Output (English): [54, 152, 184, 195, 24, 120]