Task: Program Execution
Input (English): 2, 3, ['H', 'Q', 'n', '7475', 'C', '8119', '1775', '9399', '2073', '5677', '4271', 'X', '305', '2403', 'M']
Output (English): Qn