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