6. (10 points) $A$ and $B$ have a total of 81 students, where the first student from $A$ has contacted 10 students from $B$, the second student from $A$ has contacted 11 students from $B$, the third student from $A$ has contacted 12 students from $B$, $\cdots$, and the $n$-th student from $A$ has contacted all students from $B$. How many students are there in $A$ and $B$ respectively? $\qquad$ .
【Analysis】According to the problem, the first student from location $A$ has contacted 10 students from location $B$, the second student from $A$ has contacted 11 students from $B$, the third student from $A$ has contacted 12 students from $B$, $\cdots$, and the $n$-th student from $A$ has contacted all students from $B$. The number of students in $A$ is 9 fewer than in $B$, and the total number of students is 81. By subtracting 9 from the total, we get twice the number of students in $A$. It is not difficult to find the number of students in $A$ and $B$.

【Solution】According to the analysis, the number of students in $A$ is 9 fewer than in $B$, and the total number of students is 81. By subtracting 9 from the total, we get twice the number of students in $A$. Therefore, the number of students in $A$ is: The answer is: 36 students, 45 students.