let () = Scanf.scanf "%d %d %d\n" @@ fun n k q ->
  let as_ = Array.init q @@ fun _ -> Scanf.scanf "%d\n" @@ fun a -> a in
  let ans = Array.make n 0 in
  Array.iter (fun a ->
    ans.(a - 1) <- 1 + ans.(a - 1)) as_;
  for i = 0 to n - 1 do
    print_endline @@
    if 0 < k + ans.(i) - q
    then "Yes"
    else "No"
  done
