#include #include using namespace std; int main(){ int x,y; cin >> x >> y; cout << (int)sqrt(x*x+y*y)*2+1 <