A, B = map(int, input().split())

if B <= 2 * A and A <= 2 * B:
    print("Yes")
else:
    print("No")