package OJ;
import java.text.DecimalFormat;
import java.util.*;
public class Bully {
/*
*
* */
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while(sc.hasNext()){
String str = sc.nextLine();
String[] s = str.split(" ");
int x1 = Integer.parseInt(s[0]);
int y1 = Integer.parseInt(s[1]);
int x2 = Integer.parseInt(s[2]);
int y2 = Integer.parseInt(s[3]);
double sum = (x1-x2)*(x1-x2)+(y1-y2)*(y1-y2);
double re = Math.sqrt(sum);
DecimalFormat df = new DecimalFormat("0.00");
System.out.println(df.format(re));
}
}
}
import java.text.DecimalFormat;
import java.util.*;
public class Bully {
/*
*
* */
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while(sc.hasNext()){
String str = sc.nextLine();
String[] s = str.split(" ");
int x1 = Integer.parseInt(s[0]);
int y1 = Integer.parseInt(s[1]);
int x2 = Integer.parseInt(s[2]);
int y2 = Integer.parseInt(s[3]);
double sum = (x1-x2)*(x1-x2)+(y1-y2)*(y1-y2);
double re = Math.sqrt(sum);
DecimalFormat df = new DecimalFormat("0.00");
System.out.println(df.format(re));
}
}
}