n names and phone numbers, assemble a phone book that maps friends’ names to their respective phone numbers.name=phoneNumbername is not found, print Not found1 <= n <= 10^51 <= queries <= 10^51
# Enter your code here. Read input from STDIN. Print output to STDOUT
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/python3
# Enter your code here. Read input from STDIN. Print output to STDOUT
if __name__ == '__main__':
n = int(input())
phoneBook=dict(input().split(' ',2) for _ in range(n))
while True:
try:
name = str(input())
if name in phoneBook.keys():
print("{}={}".format(name,phoneBook[name]))
else:
print("Not found")
except:
break