Task: Program Execution
Input (English): 4, 10, ['5851', '3277', 'E', '4683', 'a', '6365', 'S', '4385', '795', '2951', 'w', 'D', 'G', 'q', 'A', '4083']
Output (English): 4683a6365S43857952951