n, k = map(int, input().split())
ans = 0 - -n//2

if ans >= k:
    print("YES")
else:
    print("NO") n, k = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split k ans = 0 - -n//2 ans 0 - -n//2 0 -n//2 -n n 2 if ans >= k:
    print("YES")
else:
    print("NO") ans >= k ans k print("YES") print "YES" print("NO") print "NO" k = map(int, input().split()) map(int, input().split()) k ans = 0 - -n//2 0 - -n//2 ans n, k = map(int, input().split()) map(int, input().split()) n
n, k = map(int, input().split())
ans = 0 - -n//2

if ans >= k:
    print("YES")
else:
    print("NO")