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

A = [0]*N

for _ in range(Q):

    q = int(eval(input()))

    A[q-1] += 1



for a in A:

    if K-Q+a>0:

        print('Yes')

    else:

        print('No')
import sys

input = sys.stdin.readline

 

def main():

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

    A = [0]*N

    for _ in range(Q):

        q = int(eval(input()))

        A[q-1] += 1



    for a in A:

        if K-Q+a>0:

            print('Yes')

        else:

            print('No')



if __name__ == '__main__':

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

import sys

input = sys.stdin.readline


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


if __name__ == "__main__":
    main()

-N, K, Q = list(map(int, input().split())) -A = [0] * N -for _ in range(Q): -    q = int(eval(input())) -    A[q - 1] += 1 -for a in A: -    if K - Q + a > 0: -        print("Yes") -    else: -        print("No") +import sys + +input = sys.stdin.readline + + +def main(): +    N, K, Q = list(map(int, input().split())) +    A = [0] * N +    for _ in range(Q): +        q = int(eval(input())) +        A[q - 1] += 1 +    for a in A: +        if K - Q + a > 0: +            print("Yes") +        else: +            print("No") + + +if __name__ == "__main__": +    main()