#include #include #include #include #include #include using namespace std; int main(){ double p,q; cin >> p >> q; if(p*q<(1-p)*q) cout << "YES"; else cout << "NO"; return 0; }