On a new line for each query, print Not found if the name has no corresponding entry in the phone book, otherwise print the full name  and number in the format name=phoneNumber.
Python
n=int(input())
dict={}
for i in range(0,n):
    p=[]
    p.append(input().split())
    dict.update({p[0][0]:int(p[0][1])})
r=[]
while(1):
    z=input()
    if(len(z)!=0):
        r.append(z)
    else:
        break
for l in range(0,len(r)):
    if(r[l] in dict):
        print(r[l]+ "=" + str(dict[r[l]]))
    else:
        print("Not found")
input
3
a 334234
b 2342342
c 425453
a
b
c
d
e
output on my pc idle
a=334234
b=2342342
c=425453
Not found
Not found
output on hackerrank (online idle)
Traceback (most recent call last):
File "solution.py", line 10, in <module>
z=input()
EOFError: EOF when reading a line
 
     
    