#include<stdio.h>
#include<math.h>
#include<stdlib.h>
#define SIZE 128*1024
long long int num[SIZE];
int main()
{
int i,n=0;
long long int N;
while(scanf("%lld",&N)!=EOF)
{
num[n]=N;
n++;
}
for(i=n-1;i>=0;i--){
printf("%0.4lf\n",(double)sqrt(num[i]));
}
return 0;
}
I2luY2x1ZGU8c3RkaW8uaD4KI2luY2x1ZGU8bWF0aC5oPgojaW5jbHVkZTxzdGRsaWIuaD4KI2RlZmluZSBTSVpFIDEyOCoxMDI0CmxvbmcgbG9uZyBpbnQgbnVtW1NJWkVdOwppbnQgbWFpbigpCnsKICAgIGludCBpLG49MDsKICAgIGxvbmcgbG9uZyBpbnQgTjsKICAgIHdoaWxlKHNjYW5mKCIlbGxkIiwmTikhPUVPRikKICAgICAgICAgIHsKICAgICAgICAgICAgICBudW1bbl09TjsKICAgICAgICAgICAgbisrOwogICAgICAgIH0KCiAgICBmb3IoaT1uLTE7aT49MDtpLS0pewoKICAgICAgcHJpbnRmKCIlMC40bGZcbiIsKGRvdWJsZSlzcXJ0KG51bVtpXSkpOwogICAgfQogICAgcmV0dXJuIDA7Cn0=