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