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

A = [K-Q for _ in range(N)]

for i in range(Q):

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

for i in range(N):

  print(("Yes" if A[i] > 0 else "No"))
import sys

input = sys.stdin.readline



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

A = [K-Q for _ in range(N)]

for i in range(Q):

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

for i in range(N):

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

import sys

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

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