program test
implicit none
  integer,allocatable::a(:),b(:)
  integer :: N,i,ans,K,Q
  read*,N,K,Q
  allocate(a(Q))
  allocate(b(N))
  read(*,*)(a(i),i=1,Q)
  b=K-Q
  do i=1,Q
  	b(a(i))=b(a(i))+1
  end do
  do i=1,N
  	if(b(i)>0)then
    	print*,'Yes'
    else 
    	print*,'No'
    end if
  end do
end program test