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