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

P = [0] * N

for _ in range(Q):

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

    P[a] += 1



for p in P:

    if Q - p < K:

        print("Yes")

    else:

        print("No")
import sys

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

points = [0] * N

for _ in range(Q):

    a = int(sys.stdin.readline())

    points[a-1] += 1

for point in points:

    if point > (Q - K):

        print("Yes")

    else:

        print("No")
N, K, Q = list(map(int, input().split()))
P = [0] * N
for _ in range(Q):
    a = int(eval(input())) - 1
    P[a] += 1
for p in P:
    if Q - p < K:
        print("Yes")
    else:
        print("No")

import sys

N, K, Q = list(map(int, input().split()))
points = [0] * N
for _ in range(Q):
    a = int(sys.stdin.readline())
    points[a - 1] += 1
for point in points:
    if point > (Q - K):
        print("Yes")
    else:
        print("No")

+import sys + -P = [0] * N +points = [0] * N -    a = int(eval(input())) - 1 -    P[a] += 1 -for p in P: -    if Q - p < K: +    a = int(sys.stdin.readline()) +    points[a - 1] += 1 +for point in points: +    if point > (Q - K):