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