Task: Program Execution
Input (English): 3, 5, ['o', 'B', 'i', 'z', 'm', 'l', '7327', '1551', 'x', '5499', '4171', '8023', '2717']
Output (English): mzi