import math

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

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