my_food = ["pizza", "falafel", "carrot cake", "Milk", "Banana"]

print("The first three items are: ")
print(my_food[:3])

print("\nThree items from the middle of the list: ")
print(my_food[1:4])
print("\nThree last items from the list are: ")
print(my_food[-3:])
