# N, K, Q = gets().chomp.split(" ").map(&:to_i)

# init_point = K - Q
# points = Array.new(N).map {|v| v = init_point }

# Q.times do
#   answer = (gets().chomp.to_i) -1
#   return if answer < 0
#   points[answer] += 1
# end

# points.map {|v| v.positive? ? p("Yes") : p("No") }

p ( -1 || 0 )

n, k, q = gets.split.map(&:to_i)
ans = Array.new(n)
q.times {
  a = gets.to_i - 1
  ans[a] = ans[a].nil? ? 1 : ans[a] + 1
}
ans.each { |a| 
  puts (k - 1 * (q - (a || 0))).positive? ? 'Yes' : 'No' 
  p (a || 0)
}
