If two sets A and B have 99 elements in common, then the number of elements common to each of set A×B and B×A are