n, k, q = map(int, input().split())

aq = [int(input()) for i in range(q)]

point = [k for i in range(n)]

correct_ans = [0] * n



for i in range(q):

    correct_ans[aq[i] - 1] += 1

    

point = ['Yes'  if p - (q - ca) > 0 else 'No' for (p, ca) in zip(point, correct_ans)]

print(*point, sep='\n')

n, k, q = map(int, input().split())

a = [int(input()) for i in range(q)]

c = [0] * n

for ai in a:

    c[ai - 1] += 1

ans = ['Yes' if k - q + ci > 0 else 'No' for ci in c]

print(*ans, sep='\n')

n, k, q = map(int, input().split())
aq = [int(input()) for i in range(q)]
point = [k for i in range(n)]
correct_ans = [0] * n
for i in range(q):
    correct_ans[aq[i] - 1] += 1
point = ["Yes" if p - (q - ca) > 0 else "No" for (p, ca) in zip(point, correct_ans)]
print(*point, sep="\n")

n, k, q = map(int, input().split())
a = [int(input()) for i in range(q)]
c = [0] * n
for ai in a:
    c[ai - 1] += 1
ans = ["Yes" if k - q + ci > 0 else "No" for ci in c]
print(*ans, sep="\n")

-aq = [int(input()) for i in range(q)] -point = [k for i in range(n)] -correct_ans = [0] * n -for i in range(q): -    correct_ans[aq[i] - 1] += 1 -point = ["Yes" if p - (q - ca) > 0 else "No" for (p, ca) in zip(point, correct_ans)] -print(*point, sep="\n") +a = [int(input()) for i in range(q)] +c = [0] * n +for ai in a: +    c[ai - 1] += 1 +ans = ["Yes" if k - q + ci > 0 else "No" for ci in c] +print(*ans, sep="\n")