students = [] for i in range(50): students.append(list(map(int,input().split()))) for j in students: if j[1] >= 80: print(j[0],j[1])