n,k = map(int,input().split())
a=n/2+0.5
if a>=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 a=n/2+0.5 a n/2+0.5 n/2 n 2 0.5 if a>=k:
    print("YES")
else:
    print("NO") a>=k a k print("YES") print "YES" print("NO") print "NO" a=n/2+0.5 n/2+0.5 a k = map(int,input().split()) map(int,input().split()) k n,k = map(int,input().split()) map(int,input().split()) n
n,k = map(int,input().split())
a=n/2+0.5
if a>=k:
    print("YES")
else:
    print("NO")
