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