#include using namespace std; int main() { int N =0;int A=0;int B=0;int X=0;int Y=0; cin >> N >> A >> B >> X >> Y ; vector H(N); for (int i = 0;i> H.at(i); } int i = 0; while (A > 0){ if(i < N-1){ if (H[i] <= A && H[i] != 0){ H[i]=0; A--; i++; } else if(H[i] != 0 && H[i] > A){ H[i] = H[i] - X; A--; } } else{ break; } } int sum_H = accumulate(H.begin(), H.end(), 0); if (sum_H <= B * Y){ cout << "Yes"<