def main():

  import sys

  import collections

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

  a=[int(e) for e in sys.stdin]

  point=[k-q]*n

  

  for person,getPoint in list(collections.Counter(a).items()):

    point[person-1]+=getPoint

  

  for res in point:

    print(("Yes" if res>0 else "No"))

    

  

if __name__=="__main__":

  main()
def main():

  import collections

  n, k, q, *a = list(map(int, open(0).read().split()))

  point=[k-q]*n

  

  for person,getPoint in list(collections.Counter(a).items()):

    point[person-1]+=getPoint

  

  for res in point:

    print(("Yes" if res>0 else "No"))

    

if __name__=="__main__":

  main()
def main():
    import sys
    import collections

    n, k, q = list(map(int, input().split()))
    a = [int(e) for e in sys.stdin]
    point = [k - q] * n
    for person, getPoint in list(collections.Counter(a).items()):
        point[person - 1] += getPoint
    for res in point:
        print(("Yes" if res > 0 else "No"))


if __name__ == "__main__":
    main()

def main():
    import collections

    n, k, q, *a = list(map(int, open(0).read().split()))
    point = [k - q] * n
    for person, getPoint in list(collections.Counter(a).items()):
        point[person - 1] += getPoint
    for res in point:
        print(("Yes" if res > 0 else "No"))


if __name__ == "__main__":
    main()

-    import sys -    n, k, q = list(map(int, input().split())) -    a = [int(e) for e in sys.stdin] +    n, k, q, *a = list(map(int, open(0).read().split()))