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