Task: Program Execution
Input (English): 3, 10, ['3975', '3163', 'S', 'e', '865', 'l', 'H', '1237', 'I', '241', 'c']
Output (English): 142I7321Hl568eS