Task: Program Execution
Input (English): 2, ['3469', '9237', 'Q', 'O', '5951', 'R']
Output (English): 3469, 9237