Task: Program Execution
Input (English): 4, 9, ['4507', '6917', '7351', '4807', '573', 'D', '5643', 'm', 'J', 'N', 'j', '1523', '5077', '4511', 'X', 't', 'l']
Output (English): Jm5643D5734807