Task: Program Execution
Input (English): 8, 10, ['a', 'E', 'k', '3109', 'I', '971', 'J', 'z', '7937', '4727']
Output (English): z79374727