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