#include #include using namespace std; using namespace atcoder; #define all(x) (x).begin(), (x).end() #define rep(i, n) for (int i = 0; i < (int)(n); i++) #define rrep(i, n) for(int i = (int)(n - 1); i >= 0; i--) template bool chmax(T &a,const T &b){if(a bool chmin(T &a,const T &b){if(a>b){a=b;return true;}return false;} using ll = long long; #define int ll using vi = vector; using vvi = vector>; using vb = vector; using vvb = vector>; using vs = vector; using pii = pair; // using mint = modint!!!number!!!; signed main(){ int n, s, b; cin >> n >> s >> b; vi h(n); rep(i, n) cin >> h.at(i); vi a = {h.at(0)}; int hmax = h.at(0); rep(i, n - 1) if(chmax(hmax, h.at(i + 1))) a.push_back(hmax); n = size(a); rep(i, n - 1){ if(a.at(i) + s * b < a.at(i + 1)){ cout << "No" << endl; return 0; } } cout << "Yes" << endl; }