#include<bits/stdc++.h> using namespace std; int main(){ int x,y,r;cin>>x>>y>>r; cout<<(int)x+y+1+2*r/pow(2,0.5)<<endl; }