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