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

score = [0] * n

for _ in range(q):

    i = int(eval(input()))

    i -= 1

    score[i] += 1

for i in range(n):

    print(('Yes' if k > q - score[i] else 'No'))

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

score = [k - q] * n

for _ in range(q):

    i = int(eval(input()))

    i -= 1

    score[i] += 1

ans = '\n'.join('No' if x <= 0 else 'Yes' for x in score)

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

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

-score = [0] * n +score = [k - q] * n -for i in range(n): -    print(("Yes" if k > q - score[i] else "No")) +ans = "\n".join("No" if x <= 0 else "Yes" for x in score) +print(ans)