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