typedef long long ll; typedef long double ld; #include using namespace std; #define int long long signed main(){ ll n,a,b,x,y; std::cin >> n>>a>>b>>x>>y; vector h(n); ll sum = 0; ll kai = 0; for (int i = 0; i < n; i++) { std::cin >> h[i]; sum += h[i]; ll num = min(a-kai, h[i]/x); h[i] -= num*x; sum -= num*x; kai += num; } sort(h.rbegin(),h.rend()); for (int i = 0; i < a-kai; i++) { sum -= h[i]; } if(sum<=b*y){ std::cout << "Yes" << std::endl; }else{ std::cout << "No" << std::endl; } }