Task: Program Execution
Input (English): 3, 16, ['7227', 's', 'M', 'c', 'u', 'h', '4781', 'q', 's', '6115', '4645', '5135', '8249', 'S', '3601', 'd']
Output (English): Mcuh4781qs6115464551358249S3601d