Task: Program Execution
Input (English): 4, 5, ['b', 'w', '1385', 'Z', 'L', '3455', 'n', '2463', '1829', '3741', '5615']
Output (English): LZ