N, K = map(int, input().split())

tmp = 0
for i in range(1, N + 1):
    if i%2 == 1:
        tmp += 1
        
if tmp >= 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 tmp = 0 tmp 0 for i in range(1, N + 1):
    if i%2 == 1:
        tmp += 1
         i range(1, N + 1) range 1 N + 1 N 1 if i%2 == 1:
        tmp += 1
         i%2 == 1 i%2 i 2 1 tmp += 1 tmp 1 if tmp >= K:
    print('YES')
else:
    print('NO') tmp >= K tmp K print('YES') print 'YES' print('NO') print 'NO' tmp = 0 0 tmp N, K = map(int, input().split()) map(int, input().split()) N K = map(int, input().split()) map(int, input().split()) K tmp += 1 1 tmp
N, K = map(int, input().split())

tmp = 0
for i in range(1, N + 1):
    if i%2 == 1:
        tmp += 1
        
if tmp >= K:
    print('YES')
else:
    print('NO')