program c
implicit none

integer :: i, n, k, q, aa
integer,allocatable,dimension(:) :: A

read(*,*) n, k, q

allocate(A(N))
A = k-q

do i = 1, q
read(*,*) aa
A(aa) = A(aa) + 1
end do

do i = 1, n
 if (A(i)<=0) then
 write(*,'(a2)') "No"
 else
 write(*,'(a3)') "Yes"
 end if
end do

end program
