N,K,Q = [int(i) for i in input().split()]
ppl = [0]*(N + 1)
for _ in range(Q):
    A = int(input())
    if A == 1:
        ppl[1] += 1
        if N != 2:
            ppl[-1] -= 1
    elif A == N:
        ppl[0] += 1
        if N != 2:
            ppl[-2] -= 1
    else:
        ppl[0] += 1
        ppl[A-1] -= 1
        ppl[A] += 1
        ppl[-1] -= 1
ans = ["Yes"] * N
ans[0] = "Yes" if ppl[0] < K else "No"
for i in range(1,N):
    ppl[i] += ppl[i-1]
    if ppl[i] >= K:
        ans[i] = "No"
print("\n".join(ans)) 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,Q = [int(i) for i in input().split()] N [int(i) for i in input().split()] K Q ppl = [0]*(N + 1) ppl [0]*(N + 1) [0] 0 N + 1 N 1 for _ in range(Q):
    A = int(input())
    if A == 1:
        ppl[1] += 1
        if N != 2:
            ppl[-1] -= 1
    elif A == N:
        ppl[0] += 1
        if N != 2:
            ppl[-2] -= 1
    else:
        ppl[0] += 1
        ppl[A-1] -= 1
        ppl[A] += 1
        ppl[-1] -= 1 _ range(Q) range Q A = int(input()) A int(input()) int input() input if A == 1:
        ppl[1] += 1
        if N != 2:
            ppl[-1] -= 1
    elif A == N:
        ppl[0] += 1
        if N != 2:
            ppl[-2] -= 1
    else:
        ppl[0] += 1
        ppl[A-1] -= 1
        ppl[A] += 1
        ppl[-1] -= 1 A == 1 A 1 ppl[1] += 1 ppl[1] ppl 1 1 if N != 2:
            ppl[-1] -= 1
     N != 2 N 2 ppl[-1] -= 1 ppl[-1] ppl -1 1 elif A == N:
        ppl[0] += 1
        if N != 2:
            ppl[-2] -= 1
     A == N A N ppl[0] += 1 ppl[0] ppl 0 1 if N != 2:
            ppl[-2] -= 1
     N != 2 N 2 ppl[-2] -= 1 ppl[-2] ppl -2 1 ppl[0] += 1 ppl[0] ppl 0 1 ppl[A-1] -= 1 ppl[A-1] ppl A-1 A 1 1 ppl[A] += 1 ppl[A] ppl A 1 ppl[-1] -= 1 ppl[-1] ppl -1 1 ans = ["Yes"] * N ans ["Yes"] * N ["Yes"] "Yes" N ans[0] = "Yes" if ppl[0] < K else "No" ans[0] ans 0 "Yes" if ppl[0] < K else "No" ppl[0] < K ppl[0] ppl 0 K "Yes" "No" for i in range(1,N):
    ppl[i] += ppl[i-1]
    if ppl[i] >= K:
        ans[i] = "No" i range(1,N) range 1 N ppl[i] += ppl[i-1] ppl[i] ppl i ppl[i-1] ppl i-1 i 1 if ppl[i] >= K:
        ans[i] = "No" ppl[i] >= K ppl[i] ppl i K ans[i] = "No" ans[i] ans i "No" print("\n".join(ans)) print "\n".join(ans) "\n".join "\n" join ans A = int(input()) int(input()) A Q = [int(i) for i in input().split()] [int(i) for i in input().split()] Q ans = ["Yes"] * N ["Yes"] * N ans N,K,Q = [int(i) for i in input().split()] [int(i) for i in input().split()] N ppl = [0]*(N + 1) [0]*(N + 1) ppl K,Q = [int(i) for i in input().split()] [int(i) for i in input().split()] K
N,K,Q = [int(i) for i in input().split()]
ppl = [0]*(N + 1)
for _ in range(Q):
    A = int(input())
    if A == 1:
        ppl[1] += 1
        if N != 2:
            ppl[-1] -= 1
    elif A == N:
        ppl[0] += 1
        if N != 2:
            ppl[-2] -= 1
    else:
        ppl[0] += 1
        ppl[A-1] -= 1
        ppl[A] += 1
        ppl[-1] -= 1
ans = ["Yes"] * N
ans[0] = "Yes" if ppl[0] < K else "No"
for i in range(1,N):
    ppl[i] += ppl[i-1]
    if ppl[i] >= K:
        ans[i] = "No"
print("\n".join(ans))