#include<algorithm>
#include<functional>
#include<cstdio>

int main(void){
	int n, a, b, c[110]={0}, i;
	scanf("%d%d%d", &n, &a, &b);
	for(i=0; i<=n; ++i){ scanf("%d", c+i); }
	std::sort(c+1, c+1+n, std::greater<int>());
	for(i=1; (i<=n)&&((double)(c[0]+c[i])/(a+b)>(double)c[0]/a); c[0]+=c[i], a+=b, ++i);
	printf("%d\n", c[0]/a);
	return(0);
}
