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