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