Task: Program Execution
Input (English): 2, ['T', '4349', 'Q', '4063']
Output (English): T, 4349