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

point = [K - Q] * N

for i in range(Q):

	ans = int(eval(input()))

	point[ans-1] += 1

for item in point:

	if item <= 0:

		print('No')

	else:

		print('Yes')

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

ans = [0]*(N+1)

for i in range(Q):

    ans[int(eval(input()))] += 1

sum_ans = sum(ans)

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

    print(('Yes' if K-(sum_ans-ans[i]) > 0 else 'No'))
N, K, Q = list(map(int, input().split()))
point = [K - Q] * N
for i in range(Q):
    ans = int(eval(input()))
    point[ans - 1] += 1
for item in point:
    if item <= 0:
        print("No")
    else:
        print("Yes")

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

-point = [K - Q] * N +ans = [0] * (N + 1) -    ans = int(eval(input())) -    point[ans - 1] += 1 -for item in point: -    if item <= 0: -        print("No") -    else: -        print("Yes") +    ans[int(eval(input()))] += 1 +sum_ans = sum(ans) +for i in range(1, N + 1): +    print(("Yes" if K - (sum_ans - ans[i]) > 0 else "No"))