N,K = map (int, input ().split ())
if N%2 == 0:
  x = N/2
else:
  x = N//2+1
if K > x:
  print ('NO')
else:
  print ('YES') N,K = map (int, input ().split ()) N map (int, input ().split ()) map int input ().split () ().split () input split K if N%2 == 0:
  x = N/2
else:
  x = N//2+1 N%2 == 0 N%2 N 2 0 x = N/2 x N/2 N 2 x = N//2+1 x N//2+1 N//2 N 2 1 if K > x:
  print ('NO')
else:
  print ('YES') K > x K x print ('NO') print 'NO' print ('YES') print 'YES' N,K = map (int, input ().split ()) map (int, input ().split ()) N x = N//2+1 N//2+1 x x = N/2 N/2 x K = map (int, input ().split ()) map (int, input ().split ()) K
N,K = map (int, input ().split ())
if N%2 == 0:
  x = N/2
else:
  x = N//2+1
if K > x:
  print ('NO')
else:
  print ('YES')