There are tow examinations rooms A and B. If 10 students are sent from A to B, then the number of students in each room is the same . If 20 candidates are sent from B to A, then the number of students in a is double the number of students in B. what is the number of students in room A?