There are two examination rooms A and B. If 10 students are sent from A to B, the number of students in each room becomes the same. If 20 candidates are sent from B to A, the number of students in A becomes double the number of students in B. What is the number of students in room A?