~/algor $ cat problems/begin-muntazam-oltiburchak
Regular hexagon
Medium
1000 ms
64 MB
36%
The side $a$ of a regular hexagon is given. Segments from the centre to the vertices split it into $6$ equilateral triangles with side $a$. Find the area $S$ of the hexagon and the radius $r$ of its inscribed circle:
$$S = 6 * \frac{\sqrt{3}}{4} * a^{2}, \qquad r = \frac{\sqrt{3}}{2} * a$$
Input
One positive integer $a$.
Output
One line with two numbers: $S$ and $r$, each with exactly 2 digits after the decimal point (for example, 10.39).
Note
$1 \le a \le 10^{4}$
Examples
Input #1
2
Output #1
10.39 1.73
Input #2
1
Output #2
2.60 0.87