Task: Program Execution
Input (English): 8, 10, ['3749', 'E', '709', '6623', 'P', 'X', '7519', '8111', 'T', 'J', 'Q', 'I', '4801', 'H', '1657', 'h']
Output (English): JT8111