Task: Program Execution
Input (English): 2, ['O', 'Q', '3519', '525', 's', 'S', '3971', '9655', 'Y', 'q', 'c', 'Z', 'o', 'p', '9339', '4273']
Output (English): O, Q