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