sentences = input("Enter a sentences: ")
word = sentences.split()
print(f"Number of fisrt word: {len(word)}")
print(f"First word: {word[0]}")
print(f"Last word: {word[-1]}")