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