N, K = [ int(x) for x in input().split() ]

ans = 2 * K - 1 <= N

print("YES" if ans 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 ans = 2 * K - 1 <= N ans 2 * K - 1 <= N 2 * K - 1 2 * K 2 K 1 N print("YES" if ans else "NO") print "YES" if ans else "NO" ans "YES" "NO" ans = 2 * K - 1 <= N 2 * K - 1 <= N ans N, K = [ int(x) for x in input().split() ] [ int(x) for x in input().split() ] N 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() ]

ans = 2 * K - 1 <= N

print("YES" if ans else "NO")
