Task: Program Execution
Input (English): [2, 10, 8, 7, -2, -17, 9]
Output (English): [1, 8, 5, 3, -7, -23, 2]