b1 = float(input('Enter the First Base of a Trapezoid: '))
b2 = float(input('Enter the Second Base of a Trapezoid: '))
h = float(input('Enter the Height of a Trapezoid: '))

area = 0.5 * (b1 + b2) * h

median = 0.5 * (b1+ b2)

print(f"Area of a Trapezium: {area:.2f}")
print(f"Median of a Trapezium: {median:.2f}")