#define _GLIBCXX_DEBUG #define ll long long #include using namespace std; using Graph = vector>; int main(){ int XP, YP; cin >> XP >> YP; double ZP = sqrt(XP*XP + YP*YP); for(int i = 0; i <= 1e8; i++){ if(ZP*2 < i){ cout << i << endl; return 0; } } }