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