Task: Program Execution
Input (English): 2, ['8467', 'O', '3673', 'd', '6497', 'T']
Output (English): 8467, O