N,S=map(int,input().split()) print('Yes' if 25<=S<=29*N else 'No')