N = gets.to_i; A,B = gets.split.map(&:to_i); C = gets.to_i
sum_karory = C; sum_money = A
d = []
N.times{|i|d.push(gets.to_i)}
d.sort!{|a,b| b <=> a}
d.each{|a|
    sum_karory2 = sum_karory + a
    sum_money2 = sum_money + B
    if sum_karory * sum_money2 < sum_karory2 * sum_money then
        sum_karory = sum_karory2
        sum_money = sum_money2
    else
        break
    end
}
puts sum_karory / sum_money