import sequtils,strutils var p, q : float (p, q) = stdin.readline.split.map(parsefloat) var P1 = (1 - p) * q P2 = (1 - q) * p * q if P1 < P2: echo "YES" else: echo "NO"