n,k=map(int,input().split())
print(["NO","YES"][n>=k*2-1]) n,k=map(int,input().split()) n map(int,input().split()) map int input().split() ().split () input split k print(["NO","YES"][n>=k*2-1]) print ["NO","YES"][n>=k*2-1] ["NO","YES"] "NO" "YES" n>=k*2-1 n k*2-1 k*2 k 2 1 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())
print(["NO","YES"][n>=k*2-1])