player_num,first_point,q = gets.chomp.split.map(&:to_i)
a = []
q.times{ a << gets.to_i }

players_points = Array.new(player_num, first_point)

def p_winner arr
  arr.each do |point|
    puts point.positive? ? "Yes" : "No"
  end
end

def move_round players_points, a
  players_points.map!{|i| i - a.length}
  a.each do |ansered_player_index|
    players_points[ansered_player_index - 1] = players_points[ansered_player_index - 1] + 1
  end
  return players_points
end

p_winner move_round(players_points, a)