In a school, the number of students in Class A is 20 more than twice the number of students in Class B. If the total number of students in both classes is 140, how many students are in each class? Let's think step by step and output the final answer within \boxed{}.
user