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