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

scores=[K-Q]*N

for _ in range(Q):

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

for score in scores:

    print(('Yes' if score>0 else 'No'))
import sys

sys.setrecursionlimit(1000000000)

input=sys.stdin.readline

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

scores=[K-Q]*N

for _ in range(Q):

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

for score in scores:

    print(('Yes' if score>0 else 'No'))
N, K, Q = list(map(int, input().split()))
scores = [K - Q] * N
for _ in range(Q):
    scores[int(eval(input())) - 1] += 1
for score in scores:
    print(("Yes" if score > 0 else "No"))

import sys

sys.setrecursionlimit(1000000000)
input = sys.stdin.readline
N, K, Q = list(map(int, input().split()))
scores = [K - Q] * N
for _ in range(Q):
    scores[int(eval(input())) - 1] += 1
for score in scores:
    print(("Yes" if score > 0 else "No"))

+import sys + +sys.setrecursionlimit(1000000000) +input = sys.stdin.readline