using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace yukicoder_159 { class Program { static void Main(string[] args) { string[] s = Console.ReadLine().Split(' '); float p, q, p1, p2; p = float.Parse(s[0]); q = float.Parse(s[1]); p1 = (1 - p) * q; p2 = p * (1 - q) * q; if (p1 < p2) Console.WriteLine("YES"); else Console.WriteLine("NO"); Console.ReadLine(); } } }