using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace YukiCoder { class Program { static void Main(string[] args) { var va = Console.ReadLine().Split().Select(double.Parse).ToArray(); var p = va[0]; var q = va[1]; var P1 = (1.0 - p) * q; var P2 = (1.0 - q) * q * p; var S = P2 > P1 ? "YES" : "NO"; Console.WriteLine(S); Console.ReadLine(); } } }