function Main(input) {
  input = input.split('\n');
  var i0 = input[0].split(' ');
  var N = i0[0];
  var K = i0[1];
  var Q = i0[2];

  var results = [];
  for (var i = 0; i < N; i++) {
    results.push(K - Q);
  }
  for (var i = 1; i < input.length; i++) {
    results[input[i - 1]] = results[input[i - 1]] + 1;
  }
  results = results.map(n => n <= 0 ? 'No': 'Yes');
  console.log(results.join('\n'));
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
