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