#include #include #include #include #include #include #include #include #include #include #include #include using namespace std; #define INF (1 << 30) #define INFLL (1LL << 60) int main() { double a,b; cin >> a >> b; if((1-a)*(1-b) < a*(1-b)*(b)) cout << "YES" << endl; else cout << "NO" << endl; return 0; }