Determine if we can choose K different integers between 1 and N (inclusive) so that no two of them differ by 1.
n, k = [int(i) for i in input().split()]

print("Yes" if n <= k*2 else "No")
n, k = [int(i) for i in input().split()]

print("YES" if n >= k*2-1 else "NO")