function Main(input){
  input = input.split('\n');

  var temp = input[0].split(' ');
  var N = parseInt(temp[0]);
  var K = parseInt(temp[1]);
  var Q = parseInt(temp[2]);

  var array = new Array(N);
  for (var i=0; i < N; i++){
    array[i] = K - Q;
    for(var j = 1;j <= Q; j ++){
	  input[j] = parseInt(input[j]);
      if (input[j] == i+1) array[i] ++;
    }
    (array[i] <= 0)?console.log('No'):console.log('Yes');
  }
}

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