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