Task: Program Execution
Input (English): 2, ['Q', 'g', '3985', 'O', 'P', '1551', '1119', 'K', 'X', '7413', '2323', 'l']
Output (English): Q, g