p,q = map(float, raw_input().split()) front = p back = 1 - p p1 = back * (q) p2 = front *(1 - q) * q if (p1 < p2): print "YES" else: print "NO"