Task: Program Execution
Input (English): 5, 6, ['X', 's', '3403', '1353', 'Q', '9489', 'j', '2673', 'a', '3961', '5515', 'u']
Output (English): 9489Q