Task: Program Execution
Input (English): 1, 3, ['2871', 'Q', 'L', '6291', '2613', '6671', 'T', 'Z', '9051', '2357', '3793', '6671', '4385', '577', 'K']
Output (English): L, Q, 2871