Task: Program Execution
Input (English): 1, 6, ['K', '3163', '1727', 'm', '3993', 'b', '5251', '7197', '3821', 'k', 'I', '971', 'D']
Output (English): K, 5251, D