Task: Program Execution
Input (English): 3, 18, ['2925', 'g', 'j', 'p', '443', 'W', '4103', '3823', '3261', '5461', 'I', '1515', '4217', '5433', 'x', 'S', 'g', 'A']
Output (English): AgSx543342171515I5461326138234103W443pj