#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #define rep(i, n) for(int i = 0; i < n; i++) #define per(i, n) for(int i = n - 1; i >= 0; i--) using ll = long long; #define vi vector #define vvi vector #define vl vector #define pii pair #define pll pair #define all(a) (a).begin(), (a).end() #define rall(a) (a).rbegin(), (a).rend() #define mod 1000000007 using namespace std; template bool chmax(T &a, const U &b){ return a < b ? (a = b, 1) : 0; } template bool chmin(T &a, const U &b){ return a > b ? (a = b, 1) : 0; } int main(){ ll n,a,b,x,y; cin >> n >> a >> b >> x >> y; vl h(n); rep(i, n) cin >> h[i]; priority_queue que; rep(i, n) que.push(h[i]); rep(i, a){ int v = que.top(); que.pop(); v -= x; que.push(v); } ll tot = 0; rep(i, n){ int v = que.top(); que.pop(); tot += max(0, v); } if(b*y < tot) cout << "No\n"; else cout << "Yes\n"; }