Task: Program Execution
Input (English): 5, 8, ['l', 'M', '8103', '5975', 'M', '3253', '3053', 'B', 'z', 'u', 'p', 'D', '5893']
Output (English): B, 3053, 3253, M