Task: Program Execution
Input (English): 2, 12, ['3909', 'K', '1373', '8161', 'W', 'm', 'a', '1361', 'C', 'q', 'S', '1017']
Output (English): 7101SqC1631amW16183731K