The first line contains a number N, which is the number of suspicious accounts. (1<=N<=1000) 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
The prefix of a string means a substring which must start from the first letter.