Task: Program Execution
Input (English): 4, 4, ['c', '7183', 'H', 'K', 'S', '8981', 'T', '5405', 'M', '3519', 'K', 'Q', '4265', '5945', '5363', 'M', '1821', 's', '4327', '3989']
Output (English): K, 5405, Q, M, 3989