#include <iostream> #include <cmath> using namespace std; int main () { double a,b,c,d,m; cin>>a>>b; cin>>c>>d; m=sqrt((a-c)*(a-c)+(b-d)*(b-d)); printf("%.4lf\n",m); return 0; }