Task: Program Execution
Input (English): 8, 10, ['T', 'Y', 'B', '4525', 'T', '9147', '1313', 'd', '7977', 'I', '367', 'i', 't', 'x', '6813', 'z', '5055', 'S', 'H', '1451']
Output (English): d7977I