#include using namespace std; template inline void chmin(T1 &a,T2 b){if(a>b) a=b;} template inline void chmax(T1 &a,T2 b){if(a void drop(const T &x){cout<>a>>b>>c>>d; D A=2,B=a-c,C=b-d; if(B*B<4*A*C) drop("No"); if(B*B==4*A*C) drop("Yes"); D x1=(-B-sqrt(B*B-4*A*C))/(2*A); D x2=(-B+sqrt(B*B-4*A*C))/(2*A); auto calc=[&](D x){return x*x+a*x+b;}; D y1=calc(x1),y2=calc(x2); D p=(y2-y1)/(x2-x1); D q=y1-p*x1; cout<