str = gets.split a = str[0].to_f b = str[1].to_f p1 = (1.0 - a) * b p2 = a * (1.0 - b) * b if p1 < p2 puts "YES" else puts "NO" end