Task: Program Execution
Input (English): 3, 10, ['n', '5375', 'x', 'J', 'm', '8389', 'U', 'A', '5311', '8717']
Output (English): xJm8389UA53118717