import math
 
N, K = [int(i) for i in input().split()]
 
ans = "YES"
if math.ceil(N / 2)< K:
    ans = "NO"
 
print(ans) import math math int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i N, K = [int(i) for i in input().split()] N [int(i) for i in input().split()] K ans = "YES" ans "YES" if math.ceil(N / 2)< K:
    ans = "NO"
  math.ceil(N / 2)< K math.ceil(N / 2) math.ceil math ceil N / 2 N 2 K ans = "NO" ans "NO" print(ans) print ans N, K = [int(i) for i in input().split()] [int(i) for i in input().split()] N ans = "NO" "NO" ans K = [int(i) for i in input().split()] [int(i) for i in input().split()] K ans = "YES" "YES" ans
import math
 
N, K = [int(i) for i in input().split()]
 
ans = "YES"
if math.ceil(N / 2)< K:
    ans = "NO"
 
print(ans)