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