N,K,Q=gets.chomp.split.map(&:to_i)
ans_infos = N.times.each_with_object({}){|n, hash| hash[n+1]=0}
N.times do
  value = gets.chomp.to_i
  ans_infos[value] += 1
end

ans_infos.each do |k,v|
  point = K-(Q-v)
  if point <= 0
    puts "No"
  else
    puts "Yes"
  end
end