Task: Program Execution
Input (English): [0, 7, 3, -18]
Output (English): [-1, 5, 0, -22]