def main(): P, Q = map(float, input().split()) if 1 - P < P * (1 - Q): print('YES') else: print('NO') main()