Task: Program Execution
Input (English): 4, 10, ['s', '1609', 'K', '8023', '343', 'Q', '4195', '6211', '5175', 'M', 'H', 'D']
Output (English): M, 5175, 6211, 4195, Q, 343, 8023