Task: Program Execution
Input (English): 7, 7, ['4705', 'H', 'n', '7033', '7463', '5347', '2373', '3393', 'Q', '1945', '8855', '2063']
Output (English): 2373