#include<bits/stdc++.h> using namespace std; int main(){ int a,b,c,d,m; cin>>a,b,c,d; m= sgit((a-b)*(a-b)+(c-d)*(c-d); cout<<m; return 0; }