print("Enter the phrase:")
phrase =input()
while (phrase!="end"):
    if phrase=="end":
        print(phrase.capitalize())
        break
    else:
        print("Enter the phrase:")
        phrase=input()


