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