Task: Program Execution
Input (English): [1, 17, -1, -2, 1, -1, 19, 6, 17]
Output (English): [0, 15, -4, -6, -4, -7, 12, -2, 8]