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