#!/usr/bin/python

animaux = [ 'chien', 'chat', 'girafe', 'hippopotame', 'chien', 'singe' ]

print "Saisir un nom d'animal"
animal = raw_input()

nb = 0

for mot in animaux:
    if animal == mot:
        nb += 1

if nb > 0:
    print animal + " est present " + str( nb ) + " fois dans le tableau"
else:
    print animal + " n\'est pas present dans le tableau"
