Task: Program Execution
Input (English): 3, ['Q', 'Z', '3705', 'c', 'V', 'V', '1087', '2147', 'Q', 'H', 's']
Output (English): Q, Z, 3705