Task: Program Execution
Input (English): [18, 7, 9, -6, -12, -6, 8]
Output (English): [17, 5, 6, -10, -17, -12, 1]