n,k=map(int,input().split())
ans='NO'
if k<=(n+1)//2:
  ans='YES'
print(ans) n,k=map(int,input().split()) n map(int,input().split()) map int input().split() ().split () input split k ans='NO' ans 'NO' if k<=(n+1)//2:
  ans='YES' k<=(n+1)//2 k (n+1)//2 n+1 n 1 2 ans='YES' ans 'YES' print(ans) print ans k=map(int,input().split()) map(int,input().split()) k n,k=map(int,input().split()) map(int,input().split()) n ans='YES' 'YES' ans ans='NO' 'NO' ans
n,k=map(int,input().split())
ans='NO'
if k<=(n+1)//2:
  ans='YES'
print(ans)