Task: Program Execution
Input (English): [18, 18, 2, -14, -1, -3, -8, -20, 10, 6]
Output (English): [17, 16, -1, -18, -6, -9, -15, -28, 1, -4]