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

ans=[-q]*n

for i in range(q):

    a=int(eval(input()))

    ans[a-1]+=1

for i in range(n):

    print(('Yes' if k+ans[i]>0 else 'No'))
from collections import defaultdict



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

C = defaultdict(int)

for _ in range(q):

    a = int(eval(input()))

    C[a] += 1

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

    cnt = q - C[i]

    if k - cnt > 0:

        print("Yes")

    else:

        print("No")

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

from collections import defaultdict

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

+from collections import defaultdict + -ans = [-q] * n -for i in range(q): +C = defaultdict(int) +for _ in range(q): -    ans[a - 1] += 1 -for i in range(n): -    print(("Yes" if k + ans[i] > 0 else "No")) +    C[a] += 1 +for i in range(1, n + 1): +    cnt = q - C[i] +    if k - cnt > 0: +        print("Yes") +    else: +        print("No")