program main
  implicit none
  integer(8) i, N, K, Q, a
  integer(8),allocatable ::  ANS(:)
  read(*, *)N, K, Q
  !allocate(A(Q))
  allocate(ANS(N))
  do i = 1,N
    ANS(i) = 0
  enddo
  do i = 1,Q
    read(*, *) a
    ANS(a) = ANS(a) + 1
  enddo
  do i = 1,N
    if (ANS(i) > Q-K) then
      write(*, *) 'Yes'
    else
      write(*, *) 'No'
    end if
  end do
end program main
