N,K=list(map(int,input().split()))
print("YES" if N>=2*K-1 else "NO") N,K=list(map(int,input().split())) N list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split K print("YES" if N>=2*K-1 else "NO") print "YES" if N>=2*K-1 else "NO" N>=2*K-1 N 2*K-1 2*K 2 K 1 "YES" "NO" N,K=list(map(int,input().split())) list(map(int,input().split())) N K=list(map(int,input().split())) list(map(int,input().split())) K
N,K=list(map(int,input().split()))
print("YES" if N>=2*K-1 else "NO")