Task: Program Execution
Input (English): 7, 10, ['D', '8677', '601', 'Z', 'M', 'a', '6489', 'x', '7545', '9383']
Output (English): 38395457x9846