n, k = map(int, input().split())
a = [0]*n

if len(a[::2]) >= 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 a = [0]*n a [0]*n [0] 0 n if len(a[::2]) >= k:
    print('YES')
else:
    print('NO') len(a[::2]) >= k len(a[::2]) len a[::2] a ::2 2 k print('YES') print 'YES' print('NO') print 'NO' n, k = map(int, input().split()) map(int, input().split()) n a = [0]*n [0]*n a k = map(int, input().split()) map(int, input().split()) k
n, k = map(int, input().split())
a = [0]*n

if len(a[::2]) >= k:
    print('YES')
else:
    print('NO')
