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

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

P = [k - q for i in range(n)]



     

for i in range(q):

      P[L[i] - 1] += 1



for i in range(n):      

      if P[i] > 0:

            print("Yes")

      else:

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

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

P=[k-q for i in range(n)]



for i in range(q):

      P[A[i]-1] +=1



for i in range(n):

      if P[i]>0:

            print("Yes")

      else:

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

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

-L = [int(eval(input())) for i in range(q)] +A = [int(eval(input())) for i in range(q)] -    P[L[i] - 1] += 1 +    P[A[i] - 1] += 1