Task: Program Execution
Input (English): 5, 6, ['5229', 'M', '9617', '5537', 'B', '3095', '4951', '4475', 'S', 'o', '4987', '6857']
Output (English): 3095, B