l = float(input())

import math

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

p = l*6

print("Lado do hexagono: ",l, "metros,")
print("Area: ",aa, "metros quadrados,")
print("Perimetro: ",p, "metros.")
