N,K=map(int,input().split())
import math 
if math.ceil(N/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 import math math if math.ceil(N/2)>=K:
    print('YES')
else:
    print('NO') math.ceil(N/2)>=K math.ceil(N/2) math.ceil math ceil N/2 N 2 K print('YES') print 'YES' print('NO') print 'NO' 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())
import math 
if math.ceil(N/2)>=K:
    print('YES')
else:
    print('NO')