Task: Program Execution
Input (English): 4, 10, ['h', 'v', 'X', '3143', 'Q', 'w', '631', '9973', 'S', 'A', '7315', 'x', 'M', '41', '8121', 's', 'g', '6351', 'Z', 'G', 'M']
Output (English): AS9973631wQ3143