# Program to compute the area and perimeter of Hexagon 
 

import math
print("Enter the length of the side:")
a=int(input())
area=(3*math.sqrt(3)*math.pow(a,2))/2.0
perimeter=(6*a)
print("Area of the Hexagon = ",area)
print("Perimeter of the Hexagon = ",perimeter)
