n,s=map(int,input().split()) if n==1: if 25<=s<30: print('Yes') exit() else: print('No') exit() f=False for i in range(25,30): total=s-i if s<0: continue if (total)//(n-1)<30: f=True break print('Yes' if f else 'No')