
#Taking dimensions of the rectangle from the user
l=int(input('Enter the length of the rectangle:'))
w=int(input('Enter the width of the rectangle:'))
#Printng output
print('Perimeter of the rectangle with lenth',l,'and width',w,'is' ,2*(l+w))