m distinct animals of a circus have to be placed in m cages, one is each cage. There are n small
cages and p large animal (n < p < m). The large animals are so large that they do not fit in small
cage. However, small animals can be put in any cage. The number of putting the animals into
cage is