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

a=[]

while True:

  try:

    a.append(int(eval(input())))

  except:

    break;

t=[0]*n

for i in a:

  t[i-1]+=1

for i in t:

  if i >= q - k + 1:

    print("Yes")

  else:

    print("No")
#C

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

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

people = [0] * n

for i in a:

    people[i-1] += 1

# print(people)

for i in people:

    if k <= q - i:

        print("No")

    else:

        print("Yes")
n, k, q = list(map(int, input().split()))
a = []
while True:
    try:
        a.append(int(eval(input())))
    except:
        break
t = [0] * n
for i in a:
    t[i - 1] += 1
for i in t:
    if i >= q - k + 1:
        print("Yes")
    else:
        print("No")

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

+# C -a = [] -while True: -    try: -        a.append(int(eval(input()))) -    except: -        break -t = [0] * n +a = [int(eval(input())) for _ in range(q)] +people = [0] * n -    t[i - 1] += 1 -for i in t: -    if i >= q - k + 1: +    people[i - 1] += 1 +# print(people) +for i in people: +    if k <= q - i: +        print("No") +    else: -    else: -        print("No")