# Program to calculate the area and perimeter of a rectangle 
 length=int(input("Enter length of a rectangle :"))
breadth=int(input("Enter breadth of a rectangle :"))

area=length*breadth
perimeter=2*(length+breadth)

print("Area =",area)
print("Perimeter =",perimeter)