# ABC141

from collections import Counter





def main():

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

    C = Counter(A)

    ans = []

    for i in range(1, N + 1):

        x = "Yes" if K - Q + C[i] > 0 else "No"

        ans.append(x)

    print(*ans, sep="\n")





if __name__ == "__main__":

    main()

# ABC141

from collections import Counter





def main():

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

    C = Counter(A)

    ans = []

    for i in range(1, N + 1):

        x = "Yes" if K - Q + C[i] > 0 else "No"

        ans.append(x)

    print(("\n".join(ans)))





if __name__ == "__main__":

    main()
# ABC141
from collections import Counter


def main():
    N, K, Q, *A = map(int, open(0).read().split())
    C = Counter(A)
    ans = []
    for i in range(1, N + 1):
        x = "Yes" if K - Q + C[i] > 0 else "No"
        ans.append(x)
    print(*ans, sep="\n")


if __name__ == "__main__":
    main()

# ABC141
from collections import Counter


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


if __name__ == "__main__":
    main()

-    N, K, Q, *A = map(int, open(0).read().split()) +    N, K, Q, *A = list(map(int, open(0).read().split())) -    print(*ans, sep="\n") +    print(("\n".join(ans)))