#include using namespace std; using ll = long long; int main(){ ll N, X, Y, D2, R, S=0, r; cin >> N >> X >> Y; D2 = X*X+Y*Y; cin >> R; if (N == 1){ cout << (D2 == R*R ? "Yes" : "No") << endl; return 0; } for (int i=0; i> r; S += r*2; } if (R*R <= D2) cout << (D2 <= (R+S)*(R+S) ? "Yes" : "No") << endl; else cout << (((R-S<=0) || ((R-S)*(R-S) <= D2)) ? "Yes" : "No") << endl; return 0; }