import collections

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

temp = [k-q for _ in range(n)]

for _ in range(q):

  a = int(eval(input()))

  temp[a-1] += 1

for i in temp:

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

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

temp = [k-q for _ in range(n)]

a = [int(eval(input())) for _ in range(q)]

for A in a:

  temp[A-1] += 1

for i in temp:

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

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

import collections

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

-for _ in range(q): -    a = int(eval(input())) -    temp[a - 1] += 1 +a = [int(eval(input())) for _ in range(q)] +for A in a: +    temp[A - 1] += 1