N,K = (int(i) for i in input().split())

if (N + 1) // 2 >= K:
    print('YES')
else:
    print('NO') 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 if (N + 1) // 2 >= K:
    print('YES')
else:
    print('NO') (N + 1) // 2 >= K (N + 1) // 2 N + 1 N 1 2 K print('YES') print 'YES' print('NO') print 'NO' K = (int(i) for i in input().split()) (int(i) for i in input().split()) K N,K = (int(i) for i in input().split()) (int(i) for i in input().split()) N
N,K = (int(i) for i in input().split())

if (N + 1) // 2 >= K:
    print('YES')
else:
    print('NO')