import java.io.*; import java.util.*; class Main { public static void main(String args[])throws Exception { BufferedReader bu=new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb=new StringBuilder(); String s[]=bu.readLine().split(" "); int n=Integer.parseInt(s[0]),a=Integer.parseInt(s[1]),b=Integer.parseInt(s[2]),x=Integer.parseInt(s[3]),y=Integer.parseInt(s[4]); int i,h[]=new int[n]; s=bu.readLine().split(" "); for(i=0;i>1; if(possible(h,a,b,x,y,mid)) { ans=mid; r=mid-1; } else l=mid+1; }*/ if(possible(h,a,b,x,y,0)) sb.append("Yes\n"); else sb.append("No\n"); System.out.print(sb); } static boolean possible(int h[],int a,int b,int x,int y,int k) { int i,n=h.length; for(i=0;i pq=new PriorityQueue<>(new Comparator() { @Override public int compare(int[] o1, int[] o2) { if(o1[0]o2[1]?1:-1; else return -1; }}); for(i=0;i0) pq.add(new int[]{h[i],i}); while(a-->0 && !pq.isEmpty()) { int e[]=pq.poll(); e[0]-=x; h[e[1]]-=x; if(e[0]>0) pq.add(e); } long del=1l*b*y; for(i=0;i0) return false; } return true; } }