#!/usr/bin/env python3

n, k = [int(x) for x in input().split()]
print("YES" if n >= k * 2 - 1 else "NO") int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x n, k = [int(x) for x in input().split()] n [int(x) for x in input().split()] k print("YES" if n >= k * 2 - 1 else "NO") print "YES" if n >= k * 2 - 1 else "NO" n >= k * 2 - 1 n k * 2 - 1 k * 2 k 2 1 "YES" "NO" k = [int(x) for x in input().split()] [int(x) for x in input().split()] k n, k = [int(x) for x in input().split()] [int(x) for x in input().split()] n
#!/usr/bin/env python3

n, k = [int(x) for x in input().split()]
print("YES" if n >= k * 2 - 1 else "NO")
