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