n, s = map(int, input().split()) min_ = 25 max_ = 29 * n if min_ <= s <= max_: print("Yes") else: print("No")