let a = readLine()!.characters.split{$0 == " "}.map{ Int(String($0))! }
let n = a[0]
let k = a[1]
let q = a[2]

var answers = [Int]()

for counter in 0..<q {
  answers.append(Int(readLine()!)!)
}

if q < k {
  for index in 0..<n {
    print("Yes")
  }
} else {
  var ret = Array(count: n, repeatedValue: "Yes")
  var scores = Array(count: n, repeatedValue: k)

  for i in 0..<q {
    let p = answers[i] - 1
    for j in 0..<n {
      if j != p && ret[j] != "No"{
        scores[j] -= 1
        if scores[j] == 0 {
          ret[j] = "No"
        }
      }
    }
  }
  
  for score in ret {
    print(score)
  }
}