n = gets.to_i
price = gets.chomp.split.map(&:to_i)
base = gets.to_f
cal = []
n.times{cal << gets.to_f}
cal.sort!.reverse!
calory, dollar = base, price[0]
max = calory / dollar
cal.each{|ca|
    calory += ca
    dollar += price[1]
    break if (calory / dollar) < max
    max = calory / dollar
}
puts max.to_i
