#include int main(void){ double p, q; scanf("%lf %lf", &p, &q); if(1.0-p < p-p*q){ printf("YES\n"); }else{ printf("NO\n"); } return 0; }