import math x1,y1=eval(input()) x2,y2=eval(input()) s=math.squrt((x1-x2)**2+(y1-y2)**2) print("%.2d"%(s))