#include #include main(int i,char**z){double n=atof(z[1]),r=n,d;while(((d=(r*r/n-1))>0?d:-d)>1e-15){printf("%.15g %.15g\n",r,r*r);r=(r+n/r)/2;}}