#include <bits/stdc++.h>
int main(void) {
  int n, pkizi, ckizi, i, j, cul = 0, pri = 0;
  double ans = 0;
  scanf("%d", &n);
  int ptop, ctop[n];
  scanf("%d %d %d", &pkizi, &ptop, &ckizi);
  for (i = 0; i < n; i++) {
    scanf("%d", &ctop[i]);
    cul += ctop[i];
  }
  cul += ckizi;
  pri = pkizi + n * ptop;
  double rain, devide[n];
  rain = ckizi / pkizi;
  for (i = 0; i < n; i++) {
    devide[i] = ctop[i] / ptop;
    if (devide[i] <= rain) {
      cul -= ctop[i];
      pri -= ptop;
    }
  }
  ans = cul / pri;
  printf("%d\n", (int)ans);
  return 0;
}
