Task: Program Execution
Input (English): 2, ['H', '8147', 'a', '2877', 'n', 'K', 'H', 'q', '5031', '6049', '4241', 'm', '6147', 'V', '1905', '7491', '7371', '4857']
Output (English): H, 8147