#include using namespace std; int main(){ double p,q; cin >> p >> q; cout <<(p * q * (1 - q) > q * (1 - p) ? "YES" : "NO") << endl; }