a,b = map(int,input().split()) if (a / b) > 2 or (b / a) > 2: print('No') else: print('Yes')