program C
    implicit none
    integer(8) :: N,K,Q,i,x,sumP=0,tmp,idx
    
    integer(8),allocatable :: Player(:)
    
    read(*,*) N,K,Q
    allocate(Player(N))

    player = 0

    do i=1,Q
        read (*,*) x
        Player(x) = Player(x) + 1
    enddo


    do i=1,N
        tmp = K - Q + Player(i)
        if(tmp > 0)then
            write(*,*) 'Yes'
        else
            write(*,*) 'No'
        endif
    enddo
    deallocate(Player)

end program C

