L=input().split() a=int(L[0]) b=int(L[1]) if a*2 < b or 2*b < a: print("No") else: print("Yes")