import std.algorithm, std.array, std.container, std.range; import std.numeric, std.math, std.bigint, std.bitmanip, std.random; import std.string, std.conv, std.stdio, std.typecons; void main() { auto rd = readln.split.map!(to!real); auto p = rd[0], q = rd[1]; auto p0 = p * q; auto p1 = (1 - p) * q; auto p2 = p * (1 - q) * q; writeln(p1 < p2 ? "YES" : "NO"); }