#include<iostream>
#include<cmath>
#include<iomanip>
using namespace std;
int main()
{
double x1,y1,x2,y2;
while(cin>>x1>>y1>>x2>>y2)
cout<<fixed<<setprecision(2)<<sqrt((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1))<<endl;
return 0;
}
import java.text.DecimalFormat;
import java.util.Scanner;
public class Main{
public static void main(String[] argv)
{
Scanner cin=new Scanner(System.in);
DecimalFormat fm = new DecimalFormat("0.00");
while(cin.hasNext()) {
double x1,y1,x2,y2;
x1=cin.nextDouble();
y1=cin.nextDouble();
x2=cin.nextDouble();
y2=cin.nextDouble();
System.out.println(fm.format(Math.sqrt((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1))));
}
}
}