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

A = [0] * Q

for i in range(Q):

    A[i] = int(eval(input()))

    

judge = [K-Q] * N

for j in A:

    judge[j-1] += 1



for k in judge:

    if k > 0:

        print("Yes")

    else:

        print("No")

import sys

input = sys.stdin.readline

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

A = [0] * Q

for i in range(Q):

    A[i] = int(eval(input()))

    

judge = [K-Q] * N

for j in A:

    judge[j-1] += 1



for k in judge:

    if k > 0:

        print("Yes")

    else:

        print("No")

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

import sys

input = sys.stdin.readline
N, K, Q = list(map(int, input().split()))
A = [0] * Q
for i in range(Q):
    A[i] = int(eval(input()))
judge = [K - Q] * N
for j in A:
    judge[j - 1] += 1
for k in judge:
    if k > 0:
        print("Yes")
    else:
        print("No")

+import sys + +input = sys.stdin.readline