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