Task: Program Execution
Input (English): 8, 12, ['9911', 'N', 'M', 'x', '6021', '7665', 'i', 'n', 'T', 'J', 'm', 'I', '9331', 'J', 'z', '1195']
Output (English): ImJTn