results=[] for _ in range(50): a,b=map(int,input().split()) results.append((a,b)) for i in results: if i[1]>=80: print(*i)