import strscans let (_, p, q) = stdin.readAll.scanTuple"$f $f" p1 = (1 - p) * q p2 = p * q * q echo: if p1 < p2: "YES" else: "NO"