from sys import stdin def inputSynario(): input = stdin.readline num_list = list(map(int,input().rstrip().split())) return num_list[0], num_list[1] (N,S)=inputSynario() if(25<=S and 29*N>=S): print("Yes") else: print("No")