Task: Program Execution
Input (English): 3, 6, ['M', '4339', '8249', 'z', 'X', '6751', 'm', '8353']
Output (English): 1576Xz9428