eolymp
bolt
Try our new interface for solving problems
Problems

Equilateral triangle

Equilateral triangle

Find the perimeter and the area of equilateral triangle.

Input

One integer - the length n (1n1000) of the side of equilateral triangle.

Output

Print in one line the perimeter and the area of a equilateral triangle with 4 decimal digits.

Time limit 1 second
Memory limit 128 MiB
Input example #1
3
Output example #1
9.0000 3.8971
Input example #2
8
Output example #2
24.0000 27.7128