#include <iostream>
#include <cmath>
#include <iomanip>
using namespace std;
int main()
{
double x1, x2, y1, y2;
double d;
while(cin >> x1 >> y1 >> x2 >> y2)
{
d = sqrt((x1 - x2)*(x1 - x2) + (y1 - y2)*(y1 - y2));
cout << setiosflags(ios::fixed);
cout.precision(2);
cout << d << endl;
}
}
#include <cmath>
#include <iomanip>
using namespace std;
int main()
{
double x1, x2, y1, y2;
double d;
while(cin >> x1 >> y1 >> x2 >> y2)
{
d = sqrt((x1 - x2)*(x1 - x2) + (y1 - y2)*(y1 - y2));
cout << setiosflags(ios::fixed);
cout.precision(2);
cout << d << endl;
}
}