Task: Program Execution
Input (English): [0, 4, 6, 5, 7, 5, 3, 1]
Output (English): [0, 4, 6, 7, 3, 1]