We use Theorem 3.

Since there are 3 "m"s and 2 "a"s in the word "mammal", we have:

MATH

There is one "L" in "mammal", but it does not affect the answer, since 1! = 1.