#include <stdio.h>
#include <math.h>
double sqrt2(double n) {
float x = n,
y = 1.0,
e = 0.0000000001;
while(x-y>e) {
x = (x + y ) / 2;
y = n / x;
}
return x;
}
int main(void) {
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxtYXRoLmg+Cgpkb3VibGUgc3FydDIoZG91YmxlIG4pIHsKCiAgICAgIGZsb2F0IHggPSBuLAogICAgICAgICAgICB5ID0gMS4wLAogICAgICAgICAgICBlID0gMC4wMDAwMDAwMDAxOwogICAgICAgICAgICB3aGlsZSh4LXk+ZSkgewogICAgICAgICAgICAgIHggPSAoeCArIHkgKSAvIDI7CiAgICAgICAgICAgICAgeSA9IG4gLyB4OwogICAgICAgICAgICB9ICAgIAogICAgICByZXR1cm4geDsKCn0KaW50IG1haW4odm9pZCkgewoJcHJpbnRmKCIlLjdmXG4iLCBzcXJ0MigyKSk7CglwcmludGYoIiUuN2YiLCBzcXJ0KDIpKTsKCXJldHVybiAwOwp9Cg==