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