If n(A)=pn(A)=pn(A)=p and n(B)=qn(B)=qn(B)=q, how many functions f:A→Bf: A \to Bf:A→B are possible?
qpq^pqp
2pq2^{pq}2pq
pqp^qpq
p×qp \times qp×q