N,K = map(int,input().split())

if N % 2 == 0:
    temp = N / 2
else:
    temp = N / 2 + 1

ans = 'YES'

if K > temp:
    ans = 'NO'
    
print(ans) N,K = map(int,input().split()) N map(int,input().split()) map int input().split() ().split () input split K if N % 2 == 0:
    temp = N / 2
else:
    temp = N / 2 + 1 N % 2 == 0 N % 2 N 2 0 temp = N / 2 temp N / 2 N 2 temp = N / 2 + 1 temp N / 2 + 1 N / 2 N 2 1 ans = 'YES' ans 'YES' if K > temp:
    ans = 'NO'
     K > temp K temp ans = 'NO' ans 'NO' print(ans) print ans K = map(int,input().split()) map(int,input().split()) K ans = 'YES' 'YES' ans temp = N / 2 N / 2 temp temp = N / 2 + 1 N / 2 + 1 temp ans = 'NO' 'NO' ans N,K = map(int,input().split()) map(int,input().split()) N
N,K = map(int,input().split())

if N % 2 == 0:
    temp = N / 2
else:
    temp = N / 2 + 1

ans = 'YES'

if K > temp:
    ans = 'NO'
    
print(ans)
