n = input("Enter some text: ") b=len(n) print("+", end="-" * b) print("+") print("|" + n + "|") print("+", end="-" * b) print("+")