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