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