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