#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, pa, pb, ca, cb, pt, ct;
  cin >> n >> pa >> pb >> ca;
  pt = pa;
  ct = ca;
  for (int i = 0; i < n; i++) {
    cin >> cb;
    if (cb / pb > ca / pa * 2) {
      pt += pb;
      ct += cb;
    }
  }
  cout << ct / pt << endl;
  return 0;
}
