#include <bits/stdc++.h>
using namespace std;
int N;
int A, B, C;
int D[110];
int main() {
  cin >> N >> A >> B;
  for (int i = 0; i <= N; i++) cin >> D[i];
  sort(D, D + N + 1, greater<int>());
  int ans = 0, t = 0;
  for (int i = 0; i <= N; i++) {
    t += D[i];
    ans = max(ans, t / (A + i * B));
  }
  cout << ans << "\n";
  return 0;
}
