import sys input = lambda: sys.stdin.readline().rstrip() # ----------------------- # n, s = map(int, input().split()) if 25 <= s <= 30*n: print('Yes') else: print('No')