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

a = []

for _ in range(q):

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



b = [0]*n



for i in a:

	b[i-1] += 1



for i in range(n):

	minus_point = q - b[i]

	if k - minus_point > 0:

		print('Yes')

	else:

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

l = [0 for _ in range(n)]

for _ in range(q):

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

	l[a] += 1



for i in range(n):

	if q - l[i] >= k:

		print('No')

	else:

		print('Yes')

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

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

-a = [] +l = [0 for _ in range(n)] -    a.append(int(eval(input()))) -b = [0] * n -for i in a: -    b[i - 1] += 1 +    a = int(eval(input())) - 1 +    l[a] += 1 -    minus_point = q - b[i] -    if k - minus_point > 0: +    if q - l[i] >= k: +        print("No") +    else: -    else: -        print("No")