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