n, k = map(int, input().split())
kk = 0
if n%2 != 0:
    kk = (n+1)//2
else:
    kk = n//2

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

if k <= kk:
    print("YES")
else:
    print("NO")
