// yukicoder: No.172 UFOを捕まえろ
// 2019.4.13 bal4u

#include <stdio.h>
#include <math.h>

#define EPS 1e-8
#define SQRT2 1.4142135623730950488016887242097

int main()
{
	int x, y, r, k;
	double a;

	scanf("%d%d%d", &x, &y, &r);
	if (x < 0) x = -x;
	if (y < 0) y = -y;
	a = SQRT2 * r + (x + y);
	k = (int)a;
	if (fabs(a - k) <= EPS) k++;
	if (k <= a) k++;
	printf("%d\n", k);
	return 0;
}