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