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