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

l=[0]*N

for _ in range(Q):

    l[int(eval(input()))-1]+=1

for i in l:

    if Q-i<K:

        print("Yes")

    else:

        print("No")

import sys

def input():

    return sys.stdin.readline()[:-1]

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

l=[0]*N

for _ in range(Q):

    l[int(eval(input()))-1]+=1

for i in l:

    if Q-i<K:

        print("Yes")

    else:

        print("No")



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

import sys


def input():
    return sys.stdin.readline()[:-1]


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

+import sys + + +def input(): +    return sys.stdin.readline()[:-1] + +