Task: Program Execution
Input (English): 3, 8, ['d', 'X', '9899', 'n', 'j', '7867', '4359', '8487', 'M', 'N', 'T', 'K']
Output (English): 784895347687jn9989