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