Task: Program Execution
Input (English): 3, 17, ['5999', '1471', 'D', '4647', '8073', 'M', '8081', '689', 'J', 'h', '3059', 'N', '2623', 'J', '8955', 'e', '9801', '7325']
Output (English): D46478073M8081689Jh3059N2623J8955e9801