my_foods = ['pizza', 'falafel', 'carrot cake', 'zzazang myun', 'zzambbong', 'burgerking', 'subway']

print("The first three items in the list are", my_foods[:3])
print("Three items from the middle of the list are:", my_foods[3:6])
print("The last three items in the list are:", my_foods[-3:])


