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