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

A = {}

for i in range(Q):

    _ = int(eval(input()))

    if _ in A:

        A[_] += 1

    else:

        A[_] = 1

for i in range(N):

    try:

        print(('Yes' if 0 < K - Q + A[i+1] else 'No'))

    except KeyError as e:

        print(('Yes' if 0 < K - Q else 'No'))
N,K,Q=list(map(int,input().split()))

A = [0]*N

for i in range(Q):

    A[int(eval(input()))-1]+=1

for i in range(N):

    print(('Yes'if K-Q+A[i]>0 else'No'))
N, K, Q = list(map(int, input().split()))
A = {}
for i in range(Q):
    _ = int(eval(input()))
    if _ in A:
        A[_] += 1
    else:
        A[_] = 1
for i in range(N):
    try:
        print(("Yes" if 0 < K - Q + A[i + 1] else "No"))
    except KeyError as e:
        print(("Yes" if 0 < K - Q else "No"))

N, K, Q = list(map(int, input().split()))
A = [0] * N
for i in range(Q):
    A[int(eval(input())) - 1] += 1
for i in range(N):
    print(("Yes" if K - Q + A[i] > 0 else "No"))

-A = {} +A = [0] * N -    _ = int(eval(input())) -    if _ in A: -        A[_] += 1 -    else: -        A[_] = 1 +    A[int(eval(input())) - 1] += 1 -    try: -        print(("Yes" if 0 < K - Q + A[i + 1] else "No")) -    except KeyError as e: -        print(("Yes" if 0 < K - Q else "No")) +    print(("Yes" if K - Q + A[i] > 0 else "No"))