#include #include #include using namespace std; int main() { int x, y, x2, y2; cin >> x >> y >> x2 >> y2; cout << max(abs(x),abs(y)) << endl; return 0; }