Task: Program Execution
Input (English): 5, 12, ['J', 'c', '2719', '109', 'x', '5151', 'L', 'K', '3685', '1795', 'D', 'j', '4495', '9909', '1933', '5585', 'i', 'd']
Output (English): jD59715863KL1515x