#include using namespace std; int main() { double p, q; cin >> p >> q; double P[3]; double all = 1; for( int i = 0; i < 3; i++ ) { P[i] = p * q; p = all - p; all -= P[i]; } string ans = "NO"; if( P[1] < P[2] ) ans = "YES"; cout << ans << endl; }