Let A and B be two sets such that n(A) = p and n(B) = q, write the number of function from A to B.