Task: Program Execution
Input (English): 2, ['K', 'F', '2765', 'x', '5743', 'F', '6799', '1765', 'f', '9807', 'q', 'r', 'q', 'u', '5731']
Output (English): K, F