from sys import stdin
n,k = [int(x) for x in stdin.readline().rstrip().split()]

if (n-1)//2 + 1 < k:
    print("NO")
else:
    print("YES") from sys import stdin int(x) for x in stdin.readline().rstrip().split() for x in stdin.readline().rstrip().split() x stdin.readline().rstrip().split() stdin.readline().rstrip().split stdin.readline().rstrip() stdin.readline().rstrip stdin.readline() stdin.readline stdin readline rstrip split for x in stdin.readline().rstrip().split() int(x) int x n,k = [int(x) for x in stdin.readline().rstrip().split()] n [int(x) for x in stdin.readline().rstrip().split()] k if (n-1)//2 + 1 < k:
    print("NO")
else:
    print("YES") (n-1)//2 + 1 < k (n-1)//2 + 1 (n-1)//2 n-1 n 1 2 1 k print("NO") print "NO" print("YES") print "YES" k = [int(x) for x in stdin.readline().rstrip().split()] [int(x) for x in stdin.readline().rstrip().split()] k n,k = [int(x) for x in stdin.readline().rstrip().split()] [int(x) for x in stdin.readline().rstrip().split()] n
from sys import stdin
n,k = [int(x) for x in stdin.readline().rstrip().split()]

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