In a school, the ratio of students in Class A to Class B is 5:3. The total number of students in both classes is 64. Using the elimination method, determine the number of students in each class. Let's think step by step and output the final answer within \boxed{}.
user