Task: Program Execution
Input (English): 3, 9, ['X', 'M', '2111', 'V', 'K', '4989', 'p', 'e', '9125']
Output (English): 2111VK4989pe9125