PROGRAMMING:Look up the words
Today, Tong Tong received a task to translate an English article into Chinese. For Tong Tong, this task is too arduous, poor Tong Tong had to take the English dictionary, sentence by sentence slowly translated. I hope Tongtong can finish it within the stipulated time!
###Input format:
The first line is an integer n, which indicates how many words there are in the dictionary (n ≤ 20000).
Next, every two lines represent a word, in which the first line is a string of length ≤ 100, representing the word. All letters are lowercase, and the word will not be repeated.
The second line is an integer that represents the page number of the word in the dictionary. The next line is an integer m, which means the number of words to look up (m ≤ 10000).
Next, line m, a string for each line, indicating the word to be looked up, to ensure that it exists in the dictionary.
###Output format:
M line, each line is an integer, which represents the number of pages of the ith word in the dictionary.
###Input example:
```in
four
cungneh
nineteen
wyd
seventeen
aqkj
two
olckomm
fifteen
four
wyd
aqkj
cungneh
olckomm
```
###Output example:
```out
seventeen
two
nineteen
fifteen
```
answer:If there is no answer, please comment
###Input format:
The first line is an integer n, which indicates how many words there are in the dictionary (n ≤ 20000).
Next, every two lines represent a word, in which the first line is a string of length ≤ 100, representing the word. All letters are lowercase, and the word will not be repeated.
The second line is an integer that represents the page number of the word in the dictionary. The next line is an integer m, which means the number of words to look up (m ≤ 10000).
Next, line m, a string for each line, indicating the word to be looked up, to ensure that it exists in the dictionary.
###Output format:
M line, each line is an integer, which represents the number of pages of the ith word in the dictionary.
###Input example:
```in
four
cungneh
nineteen
wyd
seventeen
aqkj
two
olckomm
fifteen
four
wyd
aqkj
cungneh
olckomm
```
###Output example:
```out
seventeen
two
nineteen
fifteen
```
answer:If there is no answer, please comment