N,K=map(int,input().split())

N+=N%2
N//=2

print("YES" if N>= K else "NO") N,K=map(int,input().split()) N map(int,input().split()) map int input().split() ().split () input split K N+=N%2 N N%2 N 2 N//=2 N 2 print("YES" if N>= K else "NO") print "YES" if N>= K else "NO" N>= K N K "YES" "NO" K=map(int,input().split()) map(int,input().split()) K N,K=map(int,input().split()) map(int,input().split()) N N+=N%2 N%2 N N//=2 2 N
N,K=map(int,input().split())

N+=N%2
N//=2

print("YES" if N>= K else "NO")