#include "bits/stdc++.h" using namespace std; int main() { double p, q; cin >> p >> q; if (1 - p < p *(1 - q) + 1e-12) cout << "YES" << endl; else cout << "NO" << endl; }