2295 - 【POJ Challenge】我爱你啊

Input

Output

Examples

Input

5
t
llllluvletterrr
luvletterlauavalaeatataearaluvletter
is wzk a famous boy yes buz he always receives a lot of luv letters
my heart beats her waves at the shore of the world and writes upon it her signature in tears with the words i love thee

Output

0
1
3
1
0
Time Limit 1 second
Memory Limit 128 MB
Discuss Stats
上一题 下一题