#include<stdio.h>
#include<math.h>
int main()
{
float X1,Y1,X2,Y2,L;
while(scanf("%f %f %f %f",&X1,&Y1,&X2,&Y2)!=EOF)
{
L=sqrt(pow(X1-X2,2)+pow(Y1-Y2,2));
printf("%.2f/n",L);
}
return 0;
}