#pragma GCC target("avx2") #pragma GCC optimize("O3") #pragma GCC optimize("unroll-loops") #include using namespace std; using ll = long long; const int INF = 1e9; const ll inf = 1LL<<60; void solve() { ll n, x, y; cin >> n >> x >> y; vector r(n); for (int i=0; i> r[i]; if (n == 1) { cout << (x*x + y*y == r[0]*r[0] ? "Yes" : "No") << '\n'; } else { ll s = accumulate(r.begin(), r.end(), 0LL)*2LL; s -= *min_element(r.begin(), r.end()); cout << (x*x + y*y <= s*s ? "Yes" : "No") << '\n'; } } int main() { ios::sync_with_stdio(false); std::cin.tie(nullptr); // int t; cin >> t; /*while (t--)*/ solve(); }