// 2014/12/10 Tazoe

#include <iostream>
#include <algorithm>
using namespace std;

int main()
{
	int N;
	cin >> N;

	int A, B;
	cin >> A >> B;

	int C;
	cin >> C;

	int D[100];
	for(int i=0; i<N; i++){
		cin >> D[i];
	}

	sort(D, D+N);

	for(int i=N-1; i>=0; i--){
		if(C*(A+B)>=(C+D[i])*A)
			break;

		C += D[i];
		A += B;
	}

	cout << C/A << endl;

	return 0;
}