N,M=map(int,input().split()) if M>=25 and (M+1)//2<30: print("Yes") else: print("No")