Task: Program Execution
Input (English): 2, ['T', '317', '2627', 'L', '4987', 'l', '1395']
Output (English): T, 317