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