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