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