def main():
    n, k, q = map(int, input().split())
    a_list = [0 for _ in range(n)]

    for _ in range(q):
        a = int(input())
        a_list[a - 1] += 1

    if k > q:
        for _ in range(n):
            print("Yes")
        exit()

    for a in a_list:
        if a < q - k + 1:
            print("No")
        else:
            print("Yes")


if __name__ == "__main__":
    main() def main():
    n, k, q = map(int, input().split())
    a_list = [0 for _ in range(n)]

    for _ in range(q):
        a = int(input())
        a_list[a - 1] += 1

    if k > q:
        for _ in range(n):
            print("Yes")
        exit()

    for a in a_list:
        if a < q - k + 1:
            print("No")
        else:
            print("Yes") main n, k, q = map(int, input().split()) n map(int, input().split()) map int input().split() ().split () input split k q 0 for _ in range(n) for _ in range(n) _ range(n) range n for _ in range(n) 0 a_list = [0 for _ in range(n)] a_list [0 for _ in range(n)] for _ in range(q):
        a = int(input())
        a_list[a - 1] += 1

     _ range(q) range q a = int(input()) a int(input()) int input() input a_list[a - 1] += 1 a_list[a - 1] a_list a - 1 a 1 1 if k > q:
        for _ in range(n):
            print("Yes")
        exit()

     k > q k q for _ in range(n):
            print("Yes")
         _ range(n) range n print("Yes") print "Yes" exit() exit for a in a_list:
        if a < q - k + 1:
            print("No")
        else:
            print("Yes") a a_list if a < q - k + 1:
            print("No")
        else:
            print("Yes") a < q - k + 1 a q - k + 1 q - k q k 1 print("No") print "No" print("Yes") print "Yes" if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def main():
    n, k, q = map(int, input().split())
    a_list = [0 for _ in range(n)]

    for _ in range(q):
        a = int(input())
        a_list[a - 1] += 1

    if k > q:
        for _ in range(n):
            print("Yes")
        exit()

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

    for _ in range(q):
        a = int(input())
        a_list[a - 1] += 1

    if k > q:
        for _ in range(n):
            print("Yes")
        exit()

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

    for _ in range(q):
        a = int(input())
        a_list[a - 1] += 1

    if k > q:
        for _ in range(n):
            print("Yes")
        exit()

    for a in a_list:
        if a < q - k + 1:
            print("No")
        else:
            print("Yes")


if __name__ == "__main__":
    main()
