Task: Program Execution
Input (English): 2, ['W', '4919', 'F', '3901']
Output (English): W, 4919