N, K = map(int, input().split())
ans = "YNEOS"
print(ans[(N+1)//2 < K::2]) N, K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K ans = "YNEOS" ans "YNEOS" print(ans[(N+1)//2 < K::2]) print ans[(N+1)//2 < K::2] ans (N+1)//2 < K::2 (N+1)//2 < K (N+1)//2 N+1 N 1 2 K 2 K = map(int, input().split()) map(int, input().split()) K N, K = map(int, input().split()) map(int, input().split()) N ans = "YNEOS" "YNEOS" ans
N, K = map(int, input().split())
ans = "YNEOS"
print(ans[(N+1)//2 < K::2])
