animals = ["dog", "lion", "cat", 'mouse', 'fish']
print("The first three items in the list are:")
print(animals[:3])

print("Three items from the middle of the list are:")
print(animals[1:4])

print("The last three items in the list are:")
print(animals[-3:])
