#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, a, b, c, t;
  double rate, ret;
  cin >> n >> a >> b >> c;
  int p = a, pr[n];
  for (int i = 0; i < n; i++) {
    cin >> pr[i];
  }
  sort(pr, pr + n);
  ret = (double)c / p;
  for (int i = 0; i < n; i++) {
    if ((double)pr[i] / b > ret) {
      c += pr[i];
      p += b;
    }
  }
  cout << (int)c / p << endl;
}
