import math
n,k=map(int,input().split())
ans='NO'
if math.ceil(n/2)>=k:
    ans='YES'
print(ans) import math math n,k=map(int,input().split()) n map(int,input().split()) map int input().split() ().split () input split k ans='NO' ans 'NO' if math.ceil(n/2)>=k:
    ans='YES' math.ceil(n/2)>=k math.ceil(n/2) math.ceil math ceil n/2 n 2 k ans='YES' ans 'YES' print(ans) print ans ans='NO' 'NO' ans n,k=map(int,input().split()) map(int,input().split()) n k=map(int,input().split()) map(int,input().split()) k ans='YES' 'YES' ans
import math
n,k=map(int,input().split())
ans='NO'
if math.ceil(n/2)>=k:
    ans='YES'
print(ans)