l = float(input())

import math

a = ((math.pow(l,2)*math.pow(3,1/2))/4)*6
p = l*6

print("Lado do hexagono: ", l, "metros,")
print("Area: ", a, "metros quadrado,")
print("Perimetro: ", p, "metros.")
 
