object Main extends App {	
  val in = readLine.split(" ").map(_.toInt)
  val order = for(_ <- 1 to in(2)) yield readLine.toInt
  val participant = List.fill(in(0))(in(1))
  val answer = participant.zipWithIndex.map{case(num, idx) => {
  	val score = order.filter(_ != idx + 1).length
    num - score
  }}
  answer.foreach{num => if(num > 0) println("Yes") else println("No")}
}