the number of students in A becomes double the number of students in B. Find the number of students in the two halls.