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

S = [k-q]*n

for i in range(q):

    j = int(eval(input()))

    S[j-1] += 1



for i in range(n):

    if S[i]>0:

        print('Yes')

    else:

        print('No')
def main():

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

    ans = [K-Q] * N



    for i in range(Q):

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



    for i in ans:

        if i > 0:

            print('Yes')

        else:

            print('No')



if __name__ == '__main__':

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

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


if __name__ == "__main__":
    main()

-n, k, q = list(map(int, input().split())) -S = [k - q] * n -for i in range(q): -    j = int(eval(input())) -    S[j - 1] += 1 -for i in range(n): -    if S[i] > 0: -        print("Yes") -    else: -        print("No") +def main(): +    N, K, Q = list(map(int, input().split())) +    ans = [K - Q] * N +    for i in range(Q): +        ans[int(eval(input())) - 1] += 1 +    for i in ans: +        if i > 0: +            print("Yes") +        else: +            print("No") + + +if __name__ == "__main__": +    main()