Task: Program Execution
Input (English): 3, 22, ['1147', '4749', '2497', '5223', '5523', '4967', 'X', 'X', 'l', 't', '685', 'v', 'W', 'S', '7261', 'c', '1335', 'z', '1867', '3445', 'q', '3593', '6835', '6839', 'X']
Output (English): 3953q54437681z5331c1627SWv586tlXX7694325532257942