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