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