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