if __name__ == '__main__':
    l=[]
    k=[]
    for i in range(int(input())):
        name = input()
        score = float(input())
        l.append(k.append(name))
        l.append(score)
        
    print(l(i-1)) 

       
