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