p,q=map(float,input().split()) if (1-p)*q < p*(1-q)*q: print('Yes') else: print('No')