p, q = gets.split.map(&:to_f) ans = if (1 - p) < p * (1 - q) "YES" else "NO" end puts ans