n,k = map(int, raw_input().split())
print 'YES' if (n+1)/2 >= k else 'NO' n,k = map(int, raw_input().split()) n map(int, raw_input().split()) map int raw_input().split() ().split () raw_input split k print 'YES' if (n+1)/2 >= k else 'NO' (n+1)/2 >= k (n+1)/2 n+1 n 1 2 k 'YES' 'NO' k = map(int, raw_input().split()) map(int, raw_input().split()) k n,k = map(int, raw_input().split()) map(int, raw_input().split()) n
n,k = map(int, raw_input().split())
print 'YES' if (n+1)/2 >= k else 'NO'