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