【样例输入1】
5
egg soup
sweet and sour spare ribs
egg soup
braised pork in brown sauce
sweet and sour spare ribs
【样例输出1】
3
【样例输入2】
10
egg soup
egg soup
egg soup
egg soup
egg soup
egg soup
egg soup
egg soup
egg soup
egg soup
【样例输出2】
1