# seriously, I haven't done ANYTHING different. this is EXACTLY the same as before.
length = float(input("length? "))
width = float(input("width? "))

print("area: "+str(length*width))
print("perimeter: "+str((2*(length+width))))