#include using ldouble = long double; void solve() { ldouble p, q; std::cin >> p >> q; std::cout << (1 - p < p * (1 - q) ? "YES" : "NO") << std::endl; } int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); solve(); return 0; }