Task: Program Execution
Input (English): 3, 13, ['53', 'i', 'W', 'w', 'Z', 'd', 'u', 'Q', '5741', '195', 'M', '8781', 'a', 'f', 'W', '7867', '4621', 'd']
Output (English): a8781M1955741QudZwW