#include using namespace std; using ll = long long; #define rep(i, n) for (int i=0; i<(int)(n); ++(i)) #define rep3(i, m, n) for (int i=(m); (i)<(int)(n); ++(i)) #define repr(i, n) for (int i=(int)(n)-1; (i)>=0; --(i)) #define rep3r(i, m, n) for (int i=(int)(n)-1; (i)>=(int)(m); --(i)) #define all(x) (x).begin(), (x).end() int main() { int n, a, b, x, y; cin >> n >> a >> b >> x >> y; vector h(n); rep(i, n) cin >> h[i]; priority_queue, vector>, greater>> mh; rep(i, n) mh.emplace(max(0, x-h[i]), i); bool res = false; rep(i, a) { auto pi = mh.top(); mh.pop(); h[pi.second] -= x; h[pi.second] = max(0, h[pi.second]); if (h[pi.second] > 0) mh.emplace(max(0, x-h[pi.second]), i); if (mh.empty()) { res = true; break; } } if (!res) { int id = 0; rep(i, b) { int p = y; while (p>0 && id= n) { res = true; break; } } } if (res) cout << "Yes" << endl; else cout << "No" << endl; return 0; }