#!/usr/bin/env python3
import sys, math, itertools, collections, bisect
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
inf = float('inf') ;mod = 10**9+7
mans = inf ;ans = 0 ;count = 0 ;pro = 1

n,k=map(int,input().split())
if 0--n//2>=k:
    print("YES")
else:
    print("NO") import sys, math, itertools, collections, bisect sys math itertools collections bisect input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8') input lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8') sys.stdin.buffer.readline().rstrip().decode('utf-8') sys.stdin.buffer.readline().rstrip().decode sys.stdin.buffer.readline().rstrip() sys.stdin.buffer.readline().rstrip sys.stdin.buffer.readline() sys.stdin.buffer.readline sys.stdin.buffer sys.stdin sys stdin buffer readline rstrip decode 'utf-8' inf = float('inf') inf float('inf') float 'inf' mod = 10**9+7 mod 10**9+7 10**9 10 9 7 mans = inf mans inf ans = 0 ans 0 count = 0 count 0 pro = 1 pro 1 n,k=map(int,input().split()) n map(int,input().split()) map int input().split() ().split () input split k if 0--n//2>=k:
    print("YES")
else:
    print("NO") 0--n//2>=k 0--n//2 0 -n//2 -n n 2 k print("YES") print "YES" print("NO") print "NO" mod = 10**9+7 10**9+7 mod mans = inf inf mans pro = 1 1 pro n,k=map(int,input().split()) map(int,input().split()) n ans = 0 0 ans inf = float('inf') float('inf') inf count = 0 0 count k=map(int,input().split()) map(int,input().split()) k input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8') lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8') input
#!/usr/bin/env python3
import sys, math, itertools, collections, bisect
input = lambda: sys.stdin.buffer.readline().rstrip().decode('utf-8')
inf = float('inf') ;mod = 10**9+7
mans = inf ;ans = 0 ;count = 0 ;pro = 1

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