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

A = [input() for i in range(Q)]

c = collections.Counter(A)

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

    if (Q-c[str(i)]) >=K:
        print('No')
    else:print('Yes')
 import collections collections N,K,Q = map(int,input().split()) N map(int,input().split()) map int input().split() ().split () input split K Q input() for i in range(Q) for i in range(Q) i range(Q) range Q for i in range(Q) input() input A = [input() for i in range(Q)] A [input() for i in range(Q)] c = collections.Counter(A) c collections.Counter(A) collections.Counter collections Counter A for i in range(1,N+1):

    if (Q-c[str(i)]) >=K:
        print('No')
    else:print('Yes') i range(1,N+1) range 1 N+1 N 1 if (Q-c[str(i)]) >=K:
        print('No')
    else:print('Yes') (Q-c[str(i)]) >=K Q-c[str(i)] Q c[str(i)] c str(i) str i K print('No') print 'No' K,Q = map(int,input().split()) map(int,input().split()) K N,K,Q = map(int,input().split()) map(int,input().split()) N Q = map(int,input().split()) map(int,input().split()) Q A = [input() for i in range(Q)] [input() for i in range(Q)] A c = collections.Counter(A) collections.Counter(A) c
import collections
N,K,Q = map(int,input().split())

A = [input() for i in range(Q)]

c = collections.Counter(A)

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

    if (Q-c[str(i)]) >=K:
        print('No')
    else:print('Yes')

