n,k=(int(x) for x in input().split())
a = k*2-1
if a<=n:
  print("YES")
else:
  print("NO") int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x n,k=(int(x) for x in input().split()) n (int(x) for x in input().split()) k a = k*2-1 a k*2-1 k*2 k 2 1 if a<=n:
  print("YES")
else:
  print("NO") a<=n a n print("YES") print "YES" print("NO") print "NO" n,k=(int(x) for x in input().split()) (int(x) for x in input().split()) n k=(int(x) for x in input().split()) (int(x) for x in input().split()) k a = k*2-1 k*2-1 a
n,k=(int(x) for x in input().split())
a = k*2-1
if a<=n:
  print("YES")
else:
  print("NO")