/* -*- coding: utf-8 -*- * * 159.cc: No.159 刺さらないUSB - yukicoder */ #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; /* constant */ /* typedef */ /* global variables */ /* subroutines */ /* main */ int main() { double p, q; cin >> p >> q; double p1 = 1 - p; double p2 = p * (1 - q); cout << (p1 < p2 ? "YES" : "NO") << endl; return 0; }