#include using namespace std; signed main(){ double a,b,c,d;cin>>a>>b>>c>>d; cout<<(abs(a-c)+abs(b-d))/2.0<