phrase = "Aceasta este o fraza"

last_letter = phrase[len(phrase)-1]

middle_letter = phrase[len(phrase)//2]

print(last_letter, middle_letter)

first_word = phrase[:7]
last_word = phrase[-6:]

print(first_word, last_word)
