Task: Program Execution
Input (English): 6, ['9403', '5479', 'Q', 'L', '4983', '819', '7717', '5481', '2181', '2769', 'l', '3297', 'P', 'S', 'C', 'Q']
Output (English): 9403, 7717, P