#include #include using namespace std; #define EPS (1e-10) int main(){ int a,b;cin>>a>>b; int n = ceil(sqrt((a*a)+(b*b))+EPS); cout << n << endl; }