import sys
input = sys.stdin.readline

# A - Anti-Adjacency
N, K = map(int, input().split())
count = 0

for i in range(1, N + 1, 2):
	count += 1

if count >= K:
	print('YES')
else:
	print('NO') import sys sys input = sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline N, K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K count = 0 count 0 for i in range(1, N + 1, 2):
	count += 1 i range(1, N + 1, 2) range 1 N + 1 N 1 2 count += 1 count 1 if count >= K:
	print('YES')
else:
	print('NO') count >= K count K print('YES') print 'YES' print('NO') print 'NO' K = map(int, input().split()) map(int, input().split()) K N, K = map(int, input().split()) map(int, input().split()) N count = 0 0 count count += 1 1 count input = sys.stdin.readline sys.stdin.readline input
import sys
input = sys.stdin.readline

# A - Anti-Adjacency
N, K = map(int, input().split())
count = 0

for i in range(1, N + 1, 2):
	count += 1

if count >= K:
	print('YES')
else:
	print('NO')