#include using namespace std; int main(){ int x,y,r,ans; double d; cin >> x >> y >> r; d=sqrt(x*x+y*y)+r; cout << (int)sqrt(2*d*d)+1 << endl; return 0; }