12711271
Then there are 2*N lines.
The 2*i-1 line is a string s, which is the sentence published by Amayama. (1<=|s|<=10000)
The 2*i line is a string p, which is the sentence published by a suspicious account. (1<=|p|<=10000)
2
lanranwudi
lanranwudi
aaa
bbcc
1
The prefix of a string means a substring which must start from the first letter.