Let A and B be any two sets such that n(B) = p, n(A) = q then the total number of functions f : A → B is equal to