#Display  : Calculating a perimeter of a rectangle
print("Calculate a perimeter of a rectancle")
#Input    : Enter the length
firstnum=int(input("Enter length of rectangle:"))
#Input    : Enter the width
secondnum=int(input("Enter the width of rectangle:"))
#Display  : The perimeter of a rectangle of <length> x <area> is <perimeter>
perimeter=firstnum*2+secondnum*2
print("The perimeter of a rectangle of", firstnum, "X", secondnum, "is",perimeter) 
