PROGRAMMING:Look up the page number of the word
Enter the page number of a group of words in the dictionary. Then we can get the page numbers of several words in the dictionary.
###Input format:
The first input is a set of words and their page numbers in the dictionary. In the first line, an integer n indicates how many words there are in the dictionary (n ≤ 20000). Next, every two lines represent a word, in which: the first line of the two lines is a string of length ≤ 100, which means the word. All the letters are lowercase, and the word will not be repeated. The second of the two lines is an integer that represents the page number of the word in the dictionary.
The next input is the word to query the page number. The first 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 input is a set of words and their page numbers in the dictionary. In the first line, an integer n indicates how many words there are in the dictionary (n ≤ 20000). Next, every two lines represent a word, in which: the first line of the two lines is a string of length ≤ 100, which means the word. All the letters are lowercase, and the word will not be repeated. The second of the two lines is an integer that represents the page number of the word in the dictionary.
The next input is the word to query the page number. The first 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