using System;
using System.Collections.Generic;
using System.Linq;

namespace _0567
{
    class Program
    {
        static void Main(string[] args)
        {
            int number = int.Parse(Console.ReadLine());
            bool a = true;
            int[] x = Console.ReadLine().Split().Select(int.Parse).ToArray();
            int Cloth = x[0];
            int topping = x[1];
            int Clothcalorie = int.Parse(Console.ReadLine());
            List<int> nows = new List<int>();
            int output = 0;
            while (true)
            {
                string now = Console.ReadLine();
                if (now == null)
                {
                    break;
                }
                nows.Add(int.Parse(now));
            }
            int[] toppingcalorie = nows.ToArray();
            Array.Sort(toppingcalorie);
            for (int i = -1; a; i++)
            {
                int nowcalorie = Clothcalorie;
                int nowmoney = Cloth;
                if (!(i == -1))
                {
                    nowcalorie += toppingcalorie[i];
                    nowmoney += topping;
                }
                int nowpizza = nowcalorie / nowmoney;
                if (output < nowpizza)
                {
                    output = nowpizza;
                }
                else
                {
                    a = false;
                }
            }
            Console.WriteLine(output);
        }
    }
}