n,k = map(int,input().split())
ans = 1 + 2*(k-1)
if n >= ans:
  print("YES")
else:
  print("NO") n,k = map(int,input().split()) n map(int,input().split()) map int input().split() ().split () input split k ans = 1 + 2*(k-1) ans 1 + 2*(k-1) 1 2*(k-1) 2 k-1 k 1 if n >= ans:
  print("YES")
else:
  print("NO") n >= ans n ans print("YES") print "YES" print("NO") print "NO" ans = 1 + 2*(k-1) 1 + 2*(k-1) ans 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())
ans = 1 + 2*(k-1)
if n >= ans:
  print("YES")
else:
  print("NO")