N, K = map(int, input().split())
print("YES" if (N-1)//2>=K-1 else "NO") N, K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K print("YES" if (N-1)//2>=K-1 else "NO") print "YES" if (N-1)//2>=K-1 else "NO" (N-1)//2>=K-1 (N-1)//2 N-1 N 1 2 K-1 K 1 "YES" "NO" K = map(int, input().split()) map(int, input().split()) K N, K = map(int, input().split()) map(int, input().split()) N
N, K = map(int, input().split())
print("YES" if (N-1)//2>=K-1 else "NO")
