n,k = map(int,input().split())
m = int(n/2)+n%2
ans = 'YES' if m>=k else 'NO'
print(ans) n,k = map(int,input().split()) n map(int,input().split()) map int input().split() ().split () input split k m = int(n/2)+n%2 m int(n/2)+n%2 int(n/2) int n/2 n 2 n%2 n 2 ans = 'YES' if m>=k else 'NO' ans 'YES' if m>=k else 'NO' m>=k m k 'YES' 'NO' 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' if m>=k else 'NO' 'YES' if m>=k else 'NO' ans m = int(n/2)+n%2 int(n/2)+n%2 m
n,k = map(int,input().split())
m = int(n/2)+n%2
ans = 'YES' if m>=k else 'NO'
print(ans)