
import qualified Data.Vector.Unboxed as U
import qualified Data.Vector as V
import qualified Data.ByteString.Char8 as C
import Debug.Trace
import Data.List
import Control.Monad
import Data.Ord

import qualified Data.IntMap as IM
--import qualified Data.IntSet as S
import qualified Data.Sequence as S

r :: Int -> IO (U.Vector Int)
r n = U.unfoldrN n (C.readInt . C.dropWhile (==' ')) <$> C.getLine

r' :: IO [Int]
r'  =   unfoldr    (C.readInt . C.dropWhile (==' ')) <$> C.getLine

rp :: IO (Int,Int)
rp  = toTup . unfoldr    (C.readInt . C.dropWhile (==' ')) <$> C.getLine

toTup [a,b] = (a,b)

main :: IO ()
main = do
    [n,k,q] <- r'
    as <- replicateM q readLn
    let asocL = zip [1..n] [0,0..]
    let mp = IM.fromList asocL
    let r = IM.toAscList (solve as mp)
    --forM_ r  (\t -> print t)
    forM_ r  (\(_,a) -> putStrLn $ if k+a > q then "Yes" else "No")
    --print 0


solve :: [Int] -> IM.IntMap Int -> IM.IntMap Int 
solve [] mp = mp
solve (a:as) mp = solve as (IM.adjust succ a mp)
