n, k = map(int, input().split())

print("NO" if (n-1)//2+1 < k else "YES") n, k = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split k print("NO" if (n-1)//2+1 < k else "YES") print "NO" if (n-1)//2+1 < k else "YES" (n-1)//2+1 < k (n-1)//2+1 (n-1)//2 n-1 n 1 2 1 k "NO" "YES" n, k = map(int, input().split()) map(int, input().split()) n k = map(int, input().split()) map(int, input().split()) k
n, k = map(int, input().split())

print("NO" if (n-1)//2+1 < k else "YES")