function Main(input) {
  input = input.split('\n');
  var firstLine = input[0];
  var s = firstLine[0].split('');
 
  var numPerson = s[0];
  var defaultScore = s[1];
  var numQuestion = s[2];

  var array = [numPerson];
  for(var i=1; i<numQuestion; i++){
    array[input[i]]++;
  }

  for(var j=0; j<numPerson; j++){
    if(array[j] < defaultScore){
      console.log("No");
    }else{
      console.log("Yes");
    }
  }

 
Main(require("fs").readFileSync("/dev/stdin", "utf8"));