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