N,K = map(int,input().split())
x = (N+1)//2
bl = (x >= K)
answer = 'YES' if bl else 'NO'
print(answer) N,K = map(int,input().split()) N map(int,input().split()) map int input().split() ().split () input split K x = (N+1)//2 x (N+1)//2 N+1 N 1 2 bl = (x >= K) bl x >= K x K answer = 'YES' if bl else 'NO' answer 'YES' if bl else 'NO' bl 'YES' 'NO' print(answer) print answer x = (N+1)//2 (N+1)//2 x K = map(int,input().split()) map(int,input().split()) K answer = 'YES' if bl else 'NO' 'YES' if bl else 'NO' answer N,K = map(int,input().split()) map(int,input().split()) N bl = (x >= K) x >= K bl
N,K = map(int,input().split())
x = (N+1)//2
bl = (x >= K)
answer = 'YES' if bl else 'NO'
print(answer)