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