Given two finite sets A and B such that n(A) = 2, n(B) = 3. Then total number of relations from A to B is ___.