a = list(map(int,input().split()))
if(a[1]<=-(-a[0]//2)):
    print('YES')
else:
    print('NO') a = list(map(int,input().split())) a list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split if(a[1]<=-(-a[0]//2)):
    print('YES')
else:
    print('NO') a[1]<=-(-a[0]//2) a[1] a 1 -(-a[0]//2) -a[0]//2 -a[0] a[0] a 0 2 print('YES') print 'YES' print('NO') print 'NO' a = list(map(int,input().split())) list(map(int,input().split())) a
a = list(map(int,input().split()))
if(a[1]<=-(-a[0]//2)):
    print('YES')
else:
    print('NO')
