#include <bits/stdc++.h> using namespace std; int main() { float x1,y1,x2,y2; int a,b; cin>>x1>>y1>>x2>>y2; a=(pow(x1-x2,2)+pow(y1-y2,2)); b=sqrt(a); cout<<b; return 0; }