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

A = []

for q in range(Q):

    A.append(int(eval(input())))

score = [K - Q] * (N + 1)

for a in A:

    score[a] += 1

ans = "\n".join("No" if s <= 0 else "Yes" for s in score[1:])

print(ans)
import sys

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

A = (int(x) for x in sys.stdin.read().split())

score = [K - Q] * (N + 1)

for a in A:

    score[a] += 1

ans = "\n".join("No" if s <= 0 else "Yes" for s in score[1:])

print(ans)
N, K, Q = list(map(int, input().split()))
A = []
for q in range(Q):
    A.append(int(eval(input())))
score = [K - Q] * (N + 1)
for a in A:
    score[a] += 1
ans = "\n".join("No" if s <= 0 else "Yes" for s in score[1:])
print(ans)

import sys

N, K, Q = list(map(int, input().split()))
A = (int(x) for x in sys.stdin.read().split())
score = [K - Q] * (N + 1)
for a in A:
    score[a] += 1
ans = "\n".join("No" if s <= 0 else "Yes" for s in score[1:])
print(ans)

+import sys + -A = [] -for q in range(Q): -    A.append(int(eval(input()))) +A = (int(x) for x in sys.stdin.read().split())