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

if 1 + 2 * (K - 1) <= N:
  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 1 + 2 * (K - 1) <= N:
  print("YES")
else:
  print("NO") 1 + 2 * (K - 1) <= N 1 + 2 * (K - 1) 1 2 * (K - 1) 2 K - 1 K 1 N 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 1 + 2 * (K - 1) <= N:
  print("YES")
else:
  print("NO")