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