Let A and B be two sets having 4 and 7 elements respectively. Then write the maximum number of elements that A∪B can have.