s = input()
n, k = [int(i) for i in s.split(' ')]

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

if (n + 1) / 2 >= k:
    print('YES')
else:
    print('NO')
