def triangleArea():
    strbase = input("Enter the base of a triangle: ")
    strheight = input("Enter the height of a triangle: ")
    base = int(strbase)
    height = int(strheight)
    print(0.5 * base * height)

triangleArea()