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