x,y=map(int,input().split()) total=3*x+y*60 if total>=480: print("Yes") else: print("No")
使用您的 Hydro 通用账户