Task: Program Execution
Input (English): 4, 10, ['7851', '2653', 'g', 'F', 'i', 'h', 'F', 'g', '1715', 'i', '4105', 'S', '7023']
Output (English): i1715gFhiF