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