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

p=[-q+k]*n

for i in range(0,q):

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

for i in range(0,n):

    print(("Yes" if p[i]>0 else "No"))
n,k,q=list(map(int,input().split()))

a=[]

for i in range(q):

    a.append(int(eval(input())))

import collections

c=collections.Counter(a)

c=list(c.items())

p=[0]*n

for i in c:

    p[i[0]-1]=i[1]

line=1-(k-q)

for i in p:

    if i>=line:

        print('Yes')

    else:

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

n, k, q = list(map(int, input().split()))
a = []
for i in range(q):
    a.append(int(eval(input())))
import collections

c = collections.Counter(a)
c = list(c.items())
p = [0] * n
for i in c:
    p[i[0] - 1] = i[1]
line = 1 - (k - q)
for i in p:
    if i >= line:
        print("Yes")
    else:
        print("No")

-p = [-q + k] * n -for i in range(0, q): -    p[int(eval(input())) - 1] += 1 -for i in range(0, n): -    print(("Yes" if p[i] > 0 else "No")) +a = [] +for i in range(q): +    a.append(int(eval(input()))) +import collections + +c = collections.Counter(a) +c = list(c.items()) +p = [0] * n +for i in c: +    p[i[0] - 1] = i[1] +line = 1 - (k - q) +for i in p: +    if i >= line: +        print("Yes") +    else: +        print("No")