N, K = map(int, input().split())

if N % 2 == 1:
  if len([i for i in range(N+1) if i % 2 == 1]) >= K:
    print("YES")
  else:
    print("NO")
else:
  if len([i for i in range(N) if i % 2 == 1]) >= 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 if N % 2 == 1:
  if len([i for i in range(N+1) if i % 2 == 1]) >= K:
    print("YES")
  else:
    print("NO")
else:
  if len([i for i in range(N) if i % 2 == 1]) >= K:
    print("YES")
  else:
    print("NO") N % 2 == 1 N % 2 N 2 1 if len([i for i in range(N+1) if i % 2 == 1]) >= K:
    print("YES")
  else:
    print("NO") len([i for i in range(N+1) if i % 2 == 1]) >= K len([i for i in range(N+1) if i % 2 == 1]) len [i for i in range(N+1) if i % 2 == 1] K print("YES") print "YES" print("NO") print "NO" if len([i for i in range(N) if i % 2 == 1]) >= K:
    print("YES")
  else:
    print("NO") len([i for i in range(N) if i % 2 == 1]) >= K len([i for i in range(N) if i % 2 == 1]) len [i for i in range(N) if i % 2 == 1] K 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
N, K = map(int, input().split())

if N % 2 == 1:
  if len([i for i in range(N+1) if i % 2 == 1]) >= K:
    print("YES")
  else:
    print("NO")
else:
  if len([i for i in range(N) if i % 2 == 1]) >= K:
    print("YES")
  else:
    print("NO")
