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



score=[0]*n

for _ in range(q):

    a=int(eval(input()))

    score[a-1]+=1



for i in score:

    if q-i>=k:

        print("No")

    else:

        print("Yes")
from collections import Counter

import sys

input = sys.stdin.buffer.readline

sys.setrecursionlimit(10 ** 7)



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

A = [int(eval(input())) for _ in range(Q)]

c = Counter(A)



for i in range(1, N + 1):

    if Q - c[i] >= K:

        print("No")

    else:

        print("Yes")

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

from collections import Counter
import sys

input = sys.stdin.buffer.readline
sys.setrecursionlimit(10**7)
N, K, Q = list(map(int, input().split()))
A = [int(eval(input())) for _ in range(Q)]
c = Counter(A)
for i in range(1, N + 1):
    if Q - c[i] >= K:
        print("No")
    else:
        print("Yes")

-n, k, q = list(map(int, input().split())) -score = [0] * n -for _ in range(q): -    a = int(eval(input())) -    score[a - 1] += 1 -for i in score: -    if q - i >= k: +from collections import Counter +import sys + +input = sys.stdin.buffer.readline +sys.setrecursionlimit(10**7) +N, K, Q = list(map(int, input().split())) +A = [int(eval(input())) for _ in range(Q)] +c = Counter(A) +for i in range(1, N + 1): +    if Q - c[i] >= K: