n,s=gets.split(" ").map{|e| e.to_i} n2=s-25*n if 0<=n2 && n2<=4*n then puts "Yes" else puts "No" end