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