import math

N, K = [int(x) for x in input().split()]

if K > math.ceil(N / 2):
    print('NO')
else:
    print('YES') import math math int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x N, K = [int(x) for x in input().split()] N [int(x) for x in input().split()] K if K > math.ceil(N / 2):
    print('NO')
else:
    print('YES') K > math.ceil(N / 2) K math.ceil(N / 2) math.ceil math ceil N / 2 N 2 print('NO') print 'NO' print('YES') print 'YES' K = [int(x) for x in input().split()] [int(x) for x in input().split()] K N, K = [int(x) for x in input().split()] [int(x) for x in input().split()] N
import math

N, K = [int(x) for x in input().split()]

if K > math.ceil(N / 2):
    print('NO')
else:
    print('YES')