animals = ['man', 'bear', 'pig', 'cow', 'duck', 'horse']

index = 0

while index < len(animals):
    print(animals[index])
    index += 1

#print(format.animals.upper())