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