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

for i in range(1, N+1):
    if i%2 != 0:
        K -= 1

print('YES' if K <= 0 else 'NO') N, K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K for i in range(1, N+1):
    if i%2 != 0:
        K -= 1 i range(1, N+1) range 1 N+1 N 1 if i%2 != 0:
        K -= 1 i%2 != 0 i%2 i 2 0 K -= 1 K 1 print('YES' if K <= 0 else 'NO') print 'YES' if K <= 0 else 'NO' K <= 0 K 0 'YES' 'NO' K -= 1 1 K K = map(int, input().split()) map(int, input().split()) K N, K = map(int, input().split()) map(int, input().split()) N
N, K = map(int, input().split())

for i in range(1, N+1):
    if i%2 != 0:
        K -= 1

print('YES' if K <= 0 else 'NO')