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