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

score = {str(i): 0 for i in range(1, N+1)}

for _ in range(Q):

  answerer = eval(input())

  score[answerer] += 1



for k, v in sorted(list(score.items()), key=lambda x:int(x[0])):

  if K - (Q - v) > 0:

    print("Yes")

  else:

    print("No")
N, K, Q = map(int, input().split())

points = [K for _ in range(N)]

for _ in range(Q):

  a = int(input())

  points[a-1] += 1

  

for p in points:

  print("Yes") if p - Q >= 1 else print("No")

N, K, Q = list(map(int, input().split()))
score = {str(i): 0 for i in range(1, N + 1)}
for _ in range(Q):
    answerer = eval(input())
    score[answerer] += 1
for k, v in sorted(list(score.items()), key=lambda x: int(x[0])):
    if K - (Q - v) > 0:
        print("Yes")
    else:
        print("No")

N, K, Q = map(int, input().split())
points = [K for _ in range(N)]
for _ in range(Q):
    a = int(input())
    points[a - 1] += 1
for p in points:
    print("Yes") if p - Q >= 1 else print("No")

-N, K, Q = list(map(int, input().split())) -score = {str(i): 0 for i in range(1, N + 1)} +N, K, Q = map(int, input().split()) +points = [K for _ in range(N)] -    answerer = eval(input()) -    score[answerer] += 1 -for k, v in sorted(list(score.items()), key=lambda x: int(x[0])): -    if K - (Q - v) > 0: -        print("Yes") -    else: -        print("No") +    a = int(input()) +    points[a - 1] += 1 +for p in points: +    print("Yes") if p - Q >= 1 else print("No")