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