#include #include #include typedef long long ll; int main(void) { std::cin.tie(0); std::ios::sync_with_stdio(false); std::cout << std::fixed << std::setprecision(8); int x, y, r; std::cin >> x >> y >> r; x = abs(x); y = abs(y); std::cout << x + y + (int)(r / std::sqrt(2)*2) + 1 << std::endl; return 0; }