#include <bits/stdc++.h>
int main(void) {
  int n;
  int a, b;
  int acal, bcal[10000];
  int s, x;
  int i, j, temp;
  scanf("%d", &n);
  scanf("%d %d", &a, &b);
  scanf("%d", &acal);
  for (i = 0; i < n; i++) {
    scanf("%d", &bcal[i]);
  }
  for (i = 0; i < n - 1; i++) {
    for (j = i + 1; j < n; j++) {
      if (bcal[i] < bcal[j]) {
        temp = bcal[i];
        bcal[i] = bcal[j];
        bcal[j] = temp;
      }
    }
  }
  for (i = 0; i < n - 1; i++) {
    acal = acal + bcal[i];
  }
  s = a + b * b;
  x = acal / s;
  printf("%d\n", x);
  return 0;
}
