N, K = map(int, input().split())
if N%2==0:
    n = N//2
else:
    n = N//2+1

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

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