import collections



def main():

    n,k,q = [int(x) for x in input().split()]

    a = []

    for i in range(q):

        a.append(int(eval(input())))



    c = collections.Counter(a)



    for i in range(n):

        index = int('{}'.format(i+1))

        point = k + c[index] - q

        if point > 0:

            print('Yes')

        else:

            print('No')





if __name__ == '__main__':

    main()

import math





def main():

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

    A = [int(eval(input())) for _ in range(q)]



    score = [k-q]*n

    for i in range(q):

        score[A[i]-1] += 1

    for i in score:

        if i>0:

            print('Yes')

        else:

            print('No')





if __name__ == '__main__':

    main()

import collections


def main():
    n, k, q = [int(x) for x in input().split()]
    a = []
    for i in range(q):
        a.append(int(eval(input())))
    c = collections.Counter(a)
    for i in range(n):
        index = int("{}".format(i + 1))
        point = k + c[index] - q
        if point > 0:
            print("Yes")
        else:
            print("No")


if __name__ == "__main__":
    main()

import math


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


if __name__ == "__main__":
    main()

-import collections +import math -    n, k, q = [int(x) for x in input().split()] -    a = [] +    n, k, q = list(map(int, input().split())) +    A = [int(eval(input())) for _ in range(q)] +    score = [k - q] * n -        a.append(int(eval(input()))) -    c = collections.Counter(a) -    for i in range(n): -        index = int("{}".format(i + 1)) -        point = k + c[index] - q -        if point > 0: +        score[A[i] - 1] += 1 +    for i in score: +        if i > 0: