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