def main():

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

    point = [0]+[k-q]*n

    point_add = [0]*(n+1)

    for a in range(q):

        a = int(eval(input()))

        point[a] += 1



    result = [x + y for (x, y) in zip(point, point_add)]



    for i in result[1:]:

        if i <= 0:

            print("No")

        else:

            print("Yes")





if __name__ == '__main__':

    main()

def main():

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

    point = [0]+[k-q]*n



    for a in range(q):

        point[int(eval(input()))] += 1



    for i in point[1:]:

        if i <= 0:

            print("No")

        else:

            print("Yes")





if __name__ == '__main__':

    main()

def main():
    n, k, q = list(map(int, input().split()))
    point = [0] + [k - q] * n
    point_add = [0] * (n + 1)
    for a in range(q):
        a = int(eval(input()))
        point[a] += 1
    result = [x + y for (x, y) in zip(point, point_add)]
    for i in result[1:]:
        if i <= 0:
            print("No")
        else:
            print("Yes")


if __name__ == "__main__":
    main()

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


if __name__ == "__main__":
    main()

-    point_add = [0] * (n + 1) -        a = int(eval(input())) -        point[a] += 1 -    result = [x + y for (x, y) in zip(point, point_add)] -    for i in result[1:]: +        point[int(eval(input()))] += 1 +    for i in point[1:]: