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