x=input("enter some text: ") y=len(x) print("+","-"*y,"+") print("|",x,"|") print("+","-"*y,"+")