Task: Program Execution
Input (English): 3, 14, ['n', '145', '3723', 'J', 'Q', 'I', '5817', '6255', '5263', '3059', 'i', '3937', '2297', '3151', 'z', 'F']
Output (English): 315122973937i3059526362555817IQJ3723