a,b=map(int,input().split()) print("Yes" if a<=2*b and a*2>=b else "No")