#include #include #include #include #define ll long long using namespace std; int main(){ int px,py,qx,qy; cin>>px>>py>>qx>>qy; double m,n; cout<<(double)(abs(px-qx)+abs(qy-py))/2<