n,s=map(int,input().split()) if 25<=s<=29*n: print("Yes") else: print("No")