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

l = [0] * n

katen = []



my_append = katen.append # appendを(間接的に)直接呼び出す

for i in range(q):

    my_append(int(eval(input())))



for j in katen: # pop、insertを使わない、使うとTLE！

    l[j-1] += 1 



for y in range(n):

    if l[y] > q-k:

        print('Yes')

    else:

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

l = [int(eval(input())) for _ in range(q)]



score = [k-q] * n

for i in l:

    score[i-1] += 1



for j in score:

    if j > 0:

        print('Yes')

    else:

        print('No')
n, k, q = list(map(int, input().split()))
l = [0] * n
katen = []
my_append = katen.append  # appendを(間接的に)直接呼び出す
for i in range(q):
    my_append(int(eval(input())))
for j in katen:  # pop、insertを使わない、使うとTLE！
    l[j - 1] += 1
for y in range(n):
    if l[y] > q - k:
        print("Yes")
    else:
        print("No")

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

-l = [0] * n -katen = [] -my_append = katen.append  # appendを(間接的に)直接呼び出す -for i in range(q): -    my_append(int(eval(input()))) -for j in katen:  # pop、insertを使わない、使うとTLE！ -    l[j - 1] += 1 -for y in range(n): -    if l[y] > q - k: +l = [int(eval(input())) for _ in range(q)] +score = [k - q] * n +for i in l: +    score[i - 1] += 1 +for j in score: +    if j > 0: