• + 2 comments

    No idea what is wrong in this!!!

    i=input()
    _dict={}
    
    for j in range(int(i)):  
        s=input()
        l=s.split(' ')
        val={str(l[0]):str(l[1])}
        _dict.update(val)
    
    for j in range(int(i)):
        s=input()
        val=_dict.get(s,"Not Found")
        if val=="Not Found":
            print(val)
        else:
            print(s+'='+val)