n,k = (int(i) for i in input().split())

if k <= (n+1)//2:
    print("YES")
else:
    print("NO") int(i) for i in input().split() for i in input().split() i input().split() ().split () input split for i in input().split() int(i) int i n,k = (int(i) for i in input().split()) n (int(i) for i in input().split()) k if k <= (n+1)//2:
    print("YES")
else:
    print("NO") k <= (n+1)//2 k (n+1)//2 n+1 n 1 2 print("YES") print "YES" print("NO") print "NO" n,k = (int(i) for i in input().split()) (int(i) for i in input().split()) n k = (int(i) for i in input().split()) (int(i) for i in input().split()) k
n,k = (int(i) for i in input().split())

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