Task: Program Execution
Input (English): 4, 6, ['K', 'D', '583', 'Q', 'b', 'B', '4985', 'X', '7839', 'P', '5167', 'c', 'A', '1027', 'b', '9837', '899', 'D', 'g', 'K', '7219']
Output (English): B, b, Q