using System; using System.Collections.Generic; using System.Linq; class Magatro { static void Main() { string[] s = Console.ReadLine().Split(' '); double p, q; p = double.Parse(s[0]); q = double.Parse(s[1]); double P1, P2; P1 = (1.0 - p) * q; P2 = p * (1.0 - q) * q; string ans = P1 < P2 ? "YES" : "NO"; Console.WriteLine(ans); } }