Integer
Integer-05
Integer-06
Integer-07
~/algor $ cat problems/kvadratlar
Squares
Easy
1000 ms
64 MB
10%
Squares with side $C$ are placed without overlapping inside a rectangle with sides $A$ and $B$. The sides of the squares are parallel to the sides of the rectangle. Find the largest number of squares that fit.
Input
One line with three positive integers: $A$, $B$ and $C$.
Output
One integer — the number of squares.
Note
$1 \le A, B, C \le 10^{9}$
Examples
Input #1
10 7 3
Output #1
6
Input #2
6 6 2
Output #2
9