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

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

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

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

if K > 0:
    print('NO')
else:
    print('YES')
