# [TJOI2010]阅读理解

## 输入输出样例

### 输入样例 #1

3
9 you are a good boy ha ha o yeah
13 o my god you like bleach naruto one piece and so do i
11 but i do not think you will get all the points
5
you
i
o
all
naruto


### 输出样例 #1

1 2 3
2 3
1 2
3
2