# 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()
# ABC141C - Attack Survival  (w/o Counter)

def main():

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

    ans, C = [], [0] * (N + 1)

    for i in A:

        C[i] += 1

    for i in C[1:]:

        x = "Yes" if K - Q + 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 = 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()

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


if __name__ == "__main__":
    main()

-# ABC141 -from collections import Counter - - +# ABC141C - Attack Survival  (w/o Counter) -    C = Counter(A) -    ans = [] -    for i in range(1, N + 1): -        x = "Yes" if K - Q + C[i] > 0 else "No" +    ans, C = [], [0] * (N + 1) +    for i in A: +        C[i] += 1 +    for i in C[1:]: +        x = "Yes" if K - Q + i > 0 else "No"