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))
  participant.zipWithIndex.map{case(num, idx) => {
  	val score = order.filter(_ != idx + 1).length
    (idx, num - score)
  }}
  .foreach{case(idx, num) => if(num > 0) println("Yes") else println("No")}
}