n, k = map(int, input().split())
c = 0

for i in range(1,n + 1):
	if i % 2 != 0:
		c += 1

if k <= c:
	print("YES")
else:
	print("NO") n, k = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split k c = 0 c 0 for i in range(1,n + 1):
	if i % 2 != 0:
		c += 1 i range(1,n + 1) range 1 n + 1 n 1 if i % 2 != 0:
		c += 1 i % 2 != 0 i % 2 i 2 0 c += 1 c 1 if k <= c:
	print("YES")
else:
	print("NO") k <= c k c print("YES") print "YES" print("NO") print "NO" c = 0 0 c k = map(int, input().split()) map(int, input().split()) k c += 1 1 c n, k = map(int, input().split()) map(int, input().split()) n
n, k = map(int, input().split())
c = 0

for i in range(1,n + 1):
	if i % 2 != 0:
		c += 1

if k <= c:
	print("YES")
else:
	print("NO")