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