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