• + 1 comment
    # Enter your code here. Read input from STDIN. Print output to STDOUT
    n=int(input())
    k={}
    for i in range(n):
        name,ph=input().split()
        k[name]=int(ph)
    try:
        while True:
            inp=input()
            if inp in k:
                print(f'{inp}={k[inp]}')
            else:
                print('Not found')
    except EOFError:
        pass