Task: Program Execution
Input (English): 3, ['3941', 'Q', 'L', '171', '9253', '7237', 'q', '6479', '7109', '4901']
Output (English): 3941, Q, L