l=[]
n,k=map(int,input().split())
for i in range(1,n+1,2):
    l.append(i)

if k<=len(l):
    print("YES")
else:
    print("NO")

 l=[] l [] n,k=map(int,input().split()) n map(int,input().split()) map int input().split() ().split () input split k for i in range(1,n+1,2):
    l.append(i) i range(1,n+1,2) range 1 n+1 n 1 2 l.append(i) l.append l append i if k<=len(l):
    print("YES")
else:
    print("NO") k<=len(l) k len(l) len l print("YES") print "YES" print("NO") print "NO" l=[] [] l n,k=map(int,input().split()) map(int,input().split()) n k=map(int,input().split()) map(int,input().split()) k
l=[]
n,k=map(int,input().split())
for i in range(1,n+1,2):
    l.append(i)

if k<=len(l):
    print("YES")
else:
    print("NO")


