from math import *
n,k=map(int,input().split())
s=ceil(n/2)
if(s>=k):
    print("YES")
else:
    print("NO") from math import * n,k=map(int,input().split()) n map(int,input().split()) map int input().split() ().split () input split k s=ceil(n/2) s ceil(n/2) ceil n/2 n 2 if(s>=k):
    print("YES")
else:
    print("NO") s>=k s k print("YES") print "YES" print("NO") print "NO" n,k=map(int,input().split()) map(int,input().split()) n k=map(int,input().split()) map(int,input().split()) k s=ceil(n/2) ceil(n/2) s
from math import *
n,k=map(int,input().split())
s=ceil(n/2)
if(s>=k):
    print("YES")
else:
    print("NO")