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