Task: Program Execution
Input (English): [1, -2, 7, 0, -18, 1, 10]
Output (English): [0, -4, 4, -4, -23, -5, 3]