Task: Program Execution
Input (English): 2, 10, ['3245', '9375', 'M', '3419', 'I', 's', '3975', 'K', '5185', 'W']
Output (English): 9375M3419Is3975K5185W