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