n,k = map(int, input().split())
od = [i for i in range(1,n+1)]
odn = od[::2]
if len(odn) >=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 i for i in range(1,n+1) for i in range(1,n+1) i range(1,n+1) range 1 n+1 n 1 for i in range(1,n+1) i od = [i for i in range(1,n+1)] od [i for i in range(1,n+1)] odn = od[::2] odn od[::2] od ::2 2 if len(odn) >=k:
  print('YES')
else:
  print('NO') len(odn) >=k len(odn) len odn k print('YES') print 'YES' print('NO') print 'NO' od = [i for i in range(1,n+1)] [i for i in range(1,n+1)] od odn = od[::2] od[::2] odn n,k = map(int, input().split()) map(int, input().split()) n k = map(int, input().split()) map(int, input().split()) k
n,k = map(int, input().split())
od = [i for i in range(1,n+1)]
odn = od[::2]
if len(odn) >=k:
  print('YES')
else:
  print('NO')