import java.util.*;

public class Main {
	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		int n = s.nextInt();
		int Ap = s.nextInt();
		int Bp = s.nextInt();
		int C = s.nextInt();
		int P = Ap;
		int t[] = new int[n];
		
		for(int i=0; i<n; i++){
			t[i] = s.nextInt();
		}
		
		Arrays.sort(t);
		

		

		System.out.println((C + t[n-1] + t[n-2]) / (P + 2*Bp));

	}
}