#include #include using namespace std; int main(void){ double px, py, qx, qy; cin >> px >> py >> qx >> qy; double sum = abs(px - qx) - abs(py - qy); cout << sum / 2.0 << endl; return 0; }