#include #include #include int main() { int ax, ay, bx, by; std::cin >> ax >> ay >> bx >> by; std::cout << std::fixed << std::setprecision(10) << (std::abs(ax - bx) + std::abs(ay - by)) / 2.0 << std::endl; return 0; }