Task: Program Execution
Input (English): 3, ['Q', 'X', '8393', 'w', 'C', 'u', '5171', '1169', '9651', '7241', 'T', '5983', '6259', 'V']
Output (English): Q, X, 8393