#include #define int long long using namespace std; using Graph = vector>; signed main(){ cout << fixed << setprecision(12); double a, b, c, d; cin >> a >> b >> c >> d; double k = sqrt(a*a-2*a*c+c*c-8*b+8*d); double ans1 = (c-a+k)/4; double ans2 = (c-a-k)/4; if( ans1 == ans2 ){ if( ans1*ans1 + a*ans1 + b == -1*ans1*ans1 + c*ans1 + d ){ cout << "Yes" << endl; }else cout << "No" << endl; }else{ if( ans1*ans1+a*ans1+b == -1*ans1*ans1+c*ans1+d && ans2*ans2+a*ans2+b == -1*ans2*ans2+c*ans2+d ){ cout << "" << endl; }else{ cout << "No" << endl; } } }