#include using namespace std; int main(){ int x,y,r; cin>>x>>y>>r; double d=hypot(x,y)+r*sqrt(2); cout<