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