Lake#4604

Lake

1 segundo
256 megabytes
Fácil

Alex is at the origin of coordinates. He wants to reach the shore of a lake, which for some reason is located at the point — perhaps because there's a tree growing there. At a nearby shop, he bought some speedwalking boots, which allow him to take steps of exactly units in length.

Determine the minimal number of steps Alex needs to reach his destination. The point does not coincide with the origin.

Alex can step to any point in the plane.

Entrada

The only line contains three integers , , (-10000 \le x, y \le 10000, 1 \le d \le 10000).

Salida

Print the minimal number of steps required.

Ejemplos

Ejemplo 1

Loading
Loading