N, K = map(int, input().split())
if N % 2 == 0:
    ans = int(N / 2)
else:
    ans = int(N / 2) + 1
if K <= ans:
    print("YES")
else:
    print("NO") N, K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K if N % 2 == 0:
    ans = int(N / 2)
else:
    ans = int(N / 2) + 1 N % 2 == 0 N % 2 N 2 0 ans = int(N / 2) ans int(N / 2) int N / 2 N 2 ans = int(N / 2) + 1 ans int(N / 2) + 1 int(N / 2) int N / 2 N 2 1 if K <= ans:
    print("YES")
else:
    print("NO") K <= ans K ans print("YES") print "YES" print("NO") print "NO" K = map(int, input().split()) map(int, input().split()) K N, K = map(int, input().split()) map(int, input().split()) N ans = int(N / 2) + 1 int(N / 2) + 1 ans ans = int(N / 2) int(N / 2) ans
N, K = map(int, input().split())
if N % 2 == 0:
    ans = int(N / 2)
else:
    ans = int(N / 2) + 1
if K <= ans:
    print("YES")
else:
    print("NO")
