#include <bits/stdc++.h>
using namespace std;
void getToppings(int number);
int main() {
  int NumOfToppings;
  int priceOfCrust;
  int priceOfTopiings;
  int caloryCrust;
  int caloryToppings[100];
  int average;
  int bestCalory = caloryCrust;
  int bestToppings = 0;
  cin >> NumOfToppings;
  cin >> priceOfCrust;
  cin >> priceOfTopiings;
  cin >> caloryCrust;
  average = caloryCrust / priceOfCrust;
  for (int i = 0; i < NumOfToppings; i++) {
    cin >> caloryToppings[i];
    if (average < (caloryToppings[i] / priceOfTopiings)) {
      bestCalory = bestCalory + caloryToppings[i];
      bestToppings++;
    }
  }
  return bestCalory / (priceOfCrust + bestToppings * priceOfTopiings);
}
