from collections import Counter

from sys import stdin





def main():

    lines = stdin.readlines()

    N, K, Q = list(map(int, lines[0].split()))

    A = Counter([int(i) - 1 for i in lines[1:]])

    print(("\n".join(["Yes" if Q < K + A[i] else "No" for i in range(0, N)])))

    return





main()

from collections import Counter





def main():

    N, K, Q, *A = list(map(int, open(0).read().split()))

    A = Counter(A)

    print(("\n".join(["Yes" if Q < K + A[i]

                     else "No" for i in range(1, N + 1)])))

    return





main()

from collections import Counter
from sys import stdin


def main():
    lines = stdin.readlines()
    N, K, Q = list(map(int, lines[0].split()))
    A = Counter([int(i) - 1 for i in lines[1:]])
    print(("\n".join(["Yes" if Q < K + A[i] else "No" for i in range(0, N)])))
    return


main()

from collections import Counter


def main():
    N, K, Q, *A = list(map(int, open(0).read().split()))
    A = Counter(A)
    print(("\n".join(["Yes" if Q < K + A[i] else "No" for i in range(1, N + 1)])))
    return


main()

-from sys import stdin -    lines = stdin.readlines() -    N, K, Q = list(map(int, lines[0].split())) -    A = Counter([int(i) - 1 for i in lines[1:]]) -    print(("\n".join(["Yes" if Q < K + A[i] else "No" for i in range(0, N)]))) +    N, K, Q, *A = list(map(int, open(0).read().split())) +    A = Counter(A) +    print(("\n".join(["Yes" if Q < K + A[i] else "No" for i in range(1, N + 1)])))