local function reada(n,m)m=m or 1 r={}for i=1,m do r[i]={}end for i=1,n do for j=1,m do r[j][i]=io.read"*n"end end return unpack(r)end
N=io.read"*n"
K=io.read"*n"
Q=io.read"*n"
c={}
for i=1,Q do
	local a=io.read"*n"
	if(c[a])then c[a]=c[a]+1
	else c[a]=1 end
end
for i=1,N do
	print(((c[i]or 0)>Q-K) and"Yes"or"No")
end