Worker and Salary
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Each worker got his salary. Print the salary for the given worker.
Input
The first line contains number of workers. Each of the next lines contains information about worker: surname and his salary. Then given number of queries . Each of the next lines contains surname of the worker.
Output
For each query — surname of the worker — print his salary. If query person does not exist in the list of workers, print .
Examples
Input #1
Answer #1
Submissions 1K
Acceptance rate 65%