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