import numpy as np 

from collections import Counter



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

A = np.array([K]*N)-Q



correct = Counter([int(eval(input()))-1 for _ in range(Q)])

#correct = sorted(correct.;items(), key:lambda x: x[0])



for i in range(N):

  if i in list(correct.keys()):

    A[i] += correct[i]

  print(("No" if A[i] < 1 else "Yes"))



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



score = [K-Q]*(N+1)

for _ in range(Q):

  a = int(input())

  score[a] += 1

[print("No" if ans < 1 else "Yes") for ans in score[1:]]

import numpy as np
from collections import Counter

N, K, Q = list(map(int, input().split()))
A = np.array([K] * N) - Q
correct = Counter([int(eval(input())) - 1 for _ in range(Q)])
# correct = sorted(correct.;items(), key:lambda x: x[0])
for i in range(N):
    if i in list(correct.keys()):
        A[i] += correct[i]
    print(("No" if A[i] < 1 else "Yes"))

N, K, Q = map(int, input().split())
score = [K - Q] * (N + 1)
for _ in range(Q):
    a = int(input())
    score[a] += 1
[print("No" if ans < 1 else "Yes") for ans in score[1:]]

-import numpy as np -from collections import Counter - -N, K, Q = list(map(int, input().split())) -A = np.array([K] * N) - Q -correct = Counter([int(eval(input())) - 1 for _ in range(Q)]) -# correct = sorted(correct.;items(), key:lambda x: x[0]) -for i in range(N): -    if i in list(correct.keys()): -        A[i] += correct[i] -    print(("No" if A[i] < 1 else "Yes")) +N, K, Q = map(int, input().split()) +score = [K - Q] * (N + 1) +for _ in range(Q): +    a = int(input()) +    score[a] += 1 +[print("No" if ans < 1 else "Yes") for ans in score[1:]]