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

l=[0]*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, *a = list(map(int, open(0).read().split()))

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

l=[0]*n

for i in a:

    l[i-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 = [0] * 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, *a = list(map(int, open(0).read().split()))
# n,k,q=map(int,input().split())
l = [0] * n
for i in a:
    l[i - 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())) +n, k, q, *a = list(map(int, open(0).read().split())) +# n,k,q=map(int,input().split()) -for i in range(q): -    l[int(eval(input())) - 1] += 1 +for i in a: +    l[i - 1] += 1