using System; using static System.Console; using System.Linq; using System.Collections.Generic; class Program { static int NN => int.Parse(ReadLine()); static int[] NList => ReadLine().Split().Select(int.Parse).ToArray(); static int[][] NArr(long n) => Enumerable.Repeat(0, (int)n).Select(_ => NList).ToArray(); public static void Main() { Solve(); } static void Solve() { var c = NList; var (n, a, b, x, y) = (c[0], c[1], c[2], c[3], c[4]); var h = NList.ToList(); for (var i = 0; i < n; ++i) { if (a == 0) break; if (h[i] >= x) { a -= h[i] / x; h[i] -= h[i] / x * x; } } if (a > 0 && h.Count > 0) { h = h.Where(hi => hi > 0).ToList(); h.Sort((l, r) => r.CompareTo(l)); for (var i = 0; i < a && i < h.Count; ++i) { --a; h[i] = 0; } } var sum = 0L; foreach (var hi in h) sum += hi; WriteLine(sum - (long)b * y <= 0 ? "Yes" : "No"); } }