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