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