#include #include #include #include #include #include #define rep(i, n) for (int i=0; i> n; #define llong(n); long long n; cin >> n; #define dbl(f); double f; cin >> f; #define s(s); string s; cin >> s; #define into(a, n) for (int i = 0; i < n; ++i) cin >> a[i] using namespace std; const int inf =1500000000; int main () { dbl(p); dbl(q); double p1 = (1 -p) * q; double p2 = p * (1 - q) * q; outl(p1 < p2 ? "YES" : "NO"); return 0; }