N,S=map(int,input().split()) if S<25: print("No") elif S>29*N: print("No") else: print("Yes")