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

l = [k-q]*n



for _ in range(q):

  a = int(eval(input()))-1

  l[a] += 1

for i in l:

  print(('Yes' if i>0 else 'No'))
import sys

input = sys.stdin.readline



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

l = [k-q]*n



for _ in range(q):

  a = int(eval(input()))-1

  l[a] += 1

for i in l:

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

import sys

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

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