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

a = [int(eval(input())) for i in range(q)]

b = [k] * n

for i in a:

    b[i - 1] += 1

for i in b:

    i -= q

    if i <= 0:

        print('No')

    else: print('Yes')





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

a = [int(eval(input())) for i in range(q)]

b = [k-q] * n

for i in a:

    b[i - 1] += 1

for i in b:

    if i <= 0:

        print('No')

    else:

        print('Yes')

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

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

-b = [k] * n +b = [k - q] * n -    i -= q