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