Task: Program Execution
Input (English): 4, 12, ['977', '7147', '6035', 'T', 'g', 'h', 'n', 'D', '5557', 'T', '4901', 'T', 'l', 'n', 'U', 'j', 'r', '9285', '7517', '1621']
Output (English): TghnD5557T4901T