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