p,q = gets.chomp.split.map{ |i| Rational(i) } puts 1-p < p*(1-q) ? "YES" : "NO"