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

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

for i in range(q):

    l[int(eval(input()))-1]+=1

for i in range(n):

    print(('Yes' if l[i]-q>0 else 'No'))
n,k,q=list(map(int,input().split()))

l=[0 for i in range(n)]

for i in range(q):

    l[int(eval(input()))-1]+=1

print(('\n'.join('Yes' if l[i]-q+k>0 else 'No' for i in range(n))))
n, k, q = list(map(int, input().split()))
l = [k for i in range(n)]
for i in range(q):
    l[int(eval(input())) - 1] += 1
for i in range(n):
    print(("Yes" if l[i] - q > 0 else "No"))

n, k, q = list(map(int, input().split()))
l = [0 for i in range(n)]
for i in range(q):
    l[int(eval(input())) - 1] += 1
print(("\n".join("Yes" if l[i] - q + k > 0 else "No" for i in range(n))))

-l = [k for i in range(n)] +l = [0 for i in range(n)] -for i in range(n): -    print(("Yes" if l[i] - q > 0 else "No")) +print(("\n".join("Yes" if l[i] - q + k > 0 else "No" for i in range(n))))