Task: Program Execution
Input (English): 5, 6, ['6991', '7105', 'L', 'U', '7139', 'T', 't', 'R']
Output (English): T, 7139