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

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

for _ in range(q):

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

    out[a] += 1

for i in range(n):

    msg = "Yes" if out[i] > 0 else "No"

    print(msg)
n, k, q, *a = list(map(int, open(0).read().split()))

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

for i in range(q):

    out[a[i]-1] += 1

for i in out:

    msg = "Yes" if i > 0 else "No"

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

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

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