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