Task: Program Execution
Input (English): 2, 16, ['l', '9635', '8573', 'j', '8645', 'B', '8809', 'W', 'w', '941', 'g', 'I', 'N', '3789', '105', '2313', 'L', '8743', '2861', '2391', 'N']
Output (English): 96358573j8645B8809Ww941gIN37891052313