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