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