#include #include using namespace std; using namespace atcoder; //const long nPrime = 1000000007; //const long nPrime = 998244353; typedef long long ll; int main() { ll n,x,y; cin >> n >> x >> y; vector viNum(n); ll nSum = 0, nMax = 0, nMin = 1e9; for(ll i = 0; i < n; i++){ cin >> viNum[i]; nSum += viNum[i]; nMax = max(nMax,viNum[i]); nMin = min(nMin,viNum[i]); } ll nDistMax = 2*nSum - nMin; ll nDistMin = 3*nMax - 2*nSum; if(nDistMax < 2e9 && nDistMax * nDistMax < x*x+y*y){ cout << "No" << endl; return 0; } if(nDistMin > 0 && nDistMin * nDistMin > x*x+y*y){ cout << "No" << endl; return 0; } cout << "Yes" << endl; return 0; }