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