N, K = map(int, input().split())
print("YES" if K+K-1 <= N else "NO") N, K = map(int, input().split()) N map(int, input().split()) map int input().split() ().split () input split K print("YES" if K+K-1 <= N else "NO") print "YES" if K+K-1 <= N else "NO" K+K-1 <= N K+K-1 K+K K K 1 N "YES" "NO" N, K = map(int, input().split()) map(int, input().split()) N K = map(int, input().split()) map(int, input().split()) K
N, K = map(int, input().split())
print("YES" if K+K-1 <= N else "NO")