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

l=[0]*n

for i in range(q):

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



for i in range(n):

  if l[i]>q-k:print("Yes")

  else:print("No")
import sys

#input = sys.stdin.readline

input = sys.stdin.buffer.readline



# mod=10**9+7

# rstrip().decode('utf-8')

# map(int,input().split())

# import numpy as np





def main():

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

	A=[q-k]*n

	for i in range(q):

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



	for i in A:

		print(("Yes" if i<0 else "No"))









if __name__ == "__main__":

	main()

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

import sys

# input = sys.stdin.readline
input = sys.stdin.buffer.readline
# mod=10**9+7
# rstrip().decode('utf-8')
# map(int,input().split())
# import numpy as np
def main():
    n, k, q = list(map(int, input().split()))
    A = [q - k] * n
    for i in range(q):
        A[int(eval(input())) - 1] -= 1
    for i in A:
        print(("Yes" if i < 0 else "No"))


if __name__ == "__main__":
    main()

-n, k, q = list(map(int, input().split())) -l = [0] * n -for i in range(q): -    l[int(eval(input())) - 1] += 1 -for i in range(n): -    if l[i] > q - k: -        print("Yes") -    else: -        print("No") +import sys + +# input = sys.stdin.readline +input = sys.stdin.buffer.readline +# mod=10**9+7 +# rstrip().decode('utf-8') +# map(int,input().split()) +# import numpy as np +def main(): +    n, k, q = list(map(int, input().split())) +    A = [q - k] * n +    for i in range(q): +        A[int(eval(input())) - 1] -= 1 +    for i in A: +        print(("Yes" if i < 0 else "No")) + + +if __name__ == "__main__": +    main()