For a group of k things, the first can be done independently in n1 different ways, the second can be done independently in n2 different ways, the third can be done independently in n3 different ways, and so on, until the kth thing, then the total number of ways in which the k things can be done in the stated order is n1 * n2 * n3 * ... * nk