p,q = map(float,input().split()) p1 = (1-p)*q p2 = p*q**2 print("YES" if p1 < p2 else "NO")