Problem E. Keywords Search
时间限制 1000 ms
内存限制 128 MB
In the modern time, Search engine came into the life of everybody like Google, Baidu, etc.
Wiskey also wants to bring this feature to his image retrieval system.
Every image have a long description, when users type some keywords to find the image, the system will match the keywords with description of image and show the image which the most keywords be matched.
To simplify the problem, giving you a description of image, and some keywords, you should tell me how many keywords will be match.
输入数据
输出数据
Print how many keywords are contained in the description.
样例输入
复制
1
5
she
he
say
shr
her
yasherhs
样例输出
$ Mathjax font initiator $