p, q = map(float, raw_input().split()) P1 = p*q P2 = (1-p)*q if P1 < P2: print 'YES' else: print 'NO'