"""
program to calculate the area of triangle
"""
bs = eval(input("enter the base of triangle"))
hei = eval(input("enter the height of triangle"))
ar = (bs*hei)/2                                                # calculating the area
print("area of given triangle is", ar)