A, B = map(int, input().split()) if A <= B * 2 and B <= A * 2: print("Yes") else: print("No")