#include <stdio.h>
int main()
{
double a,b,c,d;
while(~scanf("%lf %lf %lf %lf",&a,&b,&c,&d))
{
printf("%.2lf\n",sqrt((a-c)*(a-c)+(b-d)*(b-d)));
}
return 0;
}
#include <stdio.h>
int main()
{
double a,b,c,d;
while(~scanf("%lf %lf %lf %lf",&a,&b,&c,&d))
{
printf("%.2lf\n",sqrt((a-c)*(a-c)+(b-d)*(b-d)));
}
return 0;
}