对于每组输入数据,输出以此字母开头的最长的“龙”的长度。
下面的测试样例最后连成的“龙”为atoucheatactactouchoose。
5 at touch cheat choose tact a
23