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



