import strutils, sequtils let t = stdin.readLine.split.map parseFloat (p, q) = (t[0], t[1]) P0 = p * q P1 = (1 - p) * q P2 = (1 - P0 - P1) * P0 echo if P1 < P2: "YES" else: "NO"