N,K,Q=list(map(int,input().split()))

res=[K-Q]*N

for i in range(Q):

  ans=int(eval(input()))-1

  res[ans]=res[ans]+1



for j in range(N):

  print((("No","Yes")[res[j]>0]))

import sys

readline = sys.stdin.readline



# (Q - 正解数)点減る



N,K,Q = list(map(int,readline().split()))

P = [0] * N

for i in range(Q):

  P[int(readline()) - 1] += 1



for p in P:

  if K - (Q - p) > 0:

    print("Yes")

  else:

    print("No")
N, K, Q = list(map(int, input().split()))
res = [K - Q] * N
for i in range(Q):
    ans = int(eval(input())) - 1
    res[ans] = res[ans] + 1
for j in range(N):
    print((("No", "Yes")[res[j] > 0]))

import sys

readline = sys.stdin.readline
# (Q - 正解数)点減る
N, K, Q = list(map(int, readline().split()))
P = [0] * N
for i in range(Q):
    P[int(readline()) - 1] += 1
for p in P:
    if K - (Q - p) > 0:
        print("Yes")
    else:
        print("No")

-N, K, Q = list(map(int, input().split())) -res = [K - Q] * N +import sys + +readline = sys.stdin.readline +# (Q - 正解数)点減る +N, K, Q = list(map(int, readline().split())) +P = [0] * N -    ans = int(eval(input())) - 1 -    res[ans] = res[ans] + 1 -for j in range(N): -    print((("No", "Yes")[res[j] > 0])) +    P[int(readline()) - 1] += 1 +for p in P: +    if K - (Q - p) > 0: +        print("Yes") +    else: +        print("No")