import qualified Data.IntMap as M

main = interact $ unlines . solve . map read . words

solve (n:k:q:xs) = ans where
  m = foldl f M.empty xs
  f m x = M.insertWith (+) x 1 m
  ans = map yesno $ map g [1..n]
  g i = k - (q - M.findWithDefault 0 i m)
  yesno x  = if x > 0 then "Yes" else "No"