Task: Program Execution
Input (English): 2, 8, ['S', '1177', 'V', 'X', '2357', 'J', '1385', '7695', 'd']
Output (English): 76951385J2357XV1177