N, K = map(int, input().split())
a = (N+1)//2
if K <= a:
    print('YES')
else:
    print('NO') N, K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K a = (N+1)//2 a (N+1)//2 N+1 N 1 2 if K <= a:
    print('YES')
else:
    print('NO') K <= a K a print('YES') print 'YES' print('NO') print 'NO' K = map(int, input().split()) map(int, input().split()) K a = (N+1)//2 (N+1)//2 a N, K = map(int, input().split()) map(int, input().split()) N
N, K = map(int, input().split())
a = (N+1)//2
if K <= a:
    print('YES')
else:
    print('NO')