n, k = map(int, input().split())

w_n = 0
if n % 2 == 0:
    w_n = n
else:
    w_n = n + 1

if (w_n / 2) >= k:
    print("YES")
else:
    print("NO") n, k = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split k w_n = 0 w_n 0 if n % 2 == 0:
    w_n = n
else:
    w_n = n + 1 n % 2 == 0 n % 2 n 2 0 w_n = n w_n n w_n = n + 1 w_n n + 1 n 1 if (w_n / 2) >= k:
    print("YES")
else:
    print("NO") (w_n / 2) >= k w_n / 2 w_n 2 k print("YES") print "YES" print("NO") print "NO" w_n = n n w_n w_n = n + 1 n + 1 w_n n, k = map(int, input().split()) map(int, input().split()) n k = map(int, input().split()) map(int, input().split()) k w_n = 0 0 w_n
n, k = map(int, input().split())

w_n = 0
if n % 2 == 0:
    w_n = n
else:
    w_n = n + 1

if (w_n / 2) >= k:
    print("YES")
else:
    print("NO")