Each worker got his salary. Your task is to print the salary for the given worker.
The first line contains the number of workers . Each of the next lines contains information about a worker: his surname and salary. Then follow queries. Each of the next lines contains the surname of a worker for which you need to find the salary.
For each query — the surname of a worker — print his salary. If the surname is not found in the list of workers, print .
Example 1