main = do
  n:k:q:_ <- map read . words <$> getLine :: IO [Integer]
  a <- map read . words <$> getContents :: IO [Integer]
  mapM (putStrLn . (\x -> if 0 < x then "Yes" else "No")) $ map (foldl step (\i -> k) a) [1..n]
      where step f i j = if j == i then f j else (f j - 1)
