Task: Program Execution
Input (English): 2, 6, ['6315', '2761', 'l', '2137', '95', '331', '2473', '3587', 'U', '7971', 'X', 'x', 't', 'q']
Output (English): 2761, 3587, q