Determine if we can choose K different integers between 1 and N (inclusive) so that no two of them differ by 1.
a, b = map(int, input().split())
if a < b:
    print("YES")
else:
    print("NO")
a, b = map(int, input().split())
if a >= 2 * b - 1:
    print("YES")
else:
    print("NO")