If A and B are two sets such that A×B={(1,1),(1,2),(1,3),(2,1),(2,2),(2,3)}, then B is
Let A and B be two sets such that n(A) = 3 and n(B) = 2. If (x, 1), (y, 2), (z, 1) are A×B, write A and B.