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