import math
N, K = map(int, input().split())
tmp = math.ceil(N / 2)
if tmp >= K:
    print("YES")
else:
    print("NO") import math math N, K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K tmp = math.ceil(N / 2) tmp math.ceil(N / 2) math.ceil math ceil N / 2 N 2 if tmp >= K:
    print("YES")
else:
    print("NO") tmp >= K tmp K print("YES") print "YES" print("NO") print "NO" K = map(int, input().split()) map(int, input().split()) K tmp = math.ceil(N / 2) math.ceil(N / 2) tmp N, K = map(int, input().split()) map(int, input().split()) N
import math
N, K = map(int, input().split())
tmp = math.ceil(N / 2)
if tmp >= K:
    print("YES")
else:
    print("NO")