If A and B be non-empty sets having n elements in common, then the number of elements common to A×B and B×A is
If A and B have n elements in common, then the number of elements common to A × B and B × A is