#include <bits/stdc++.h>
using namespace std;
int main(void) {
  int n, a, b, c[100], x, y;
  int i;
  scanf("%d %d %d %d", &n, &a, &b, &x);
  for (i = 0; i < n; i++) scanf("%d", &c[i]);
  sort(c, c + n, greater<int>());
  for (i = 0; i < n - 1; i++) y = y + c[i];
  x = x + y;
  a = x / (a + (n - 1) * b);
  printf("%d\n", a);
  return 0;
}
