Task: Program Execution
Input (English): 4, 6, ['M', '8325', '9741', '223', '7575', '7977', '6603', '5283', 'L', '7019', '4873', '9249', 'f', '9269', '3063', 'K', '8357', '5829', '315', 'H', '6957']
Output (English): 223, 7019, K