8. (3 points) Schools A and B have a total of 864 students. Before the start of the new semester, 32 students were transferred from School A to School B, after which School A still had 48 more students than School B. Originally, School A had $\qquad$ students.

将上面的文本翻译成英文，请保留源文本的换行和格式，直接输出翻译结果。
8. (3 points) Two schools, A and B, have a total of 864 students. Before the start of the new semester, 32 students were transferred from School A to School B, at which point School A still had 48 more students than School B. Originally, School A had 488 students.
【Solution】Solution: The number of students by which School A exceeds School B:
$$
32 \times 2+48=112 \text { students, }
$$

The number of students in School A:
$$
\begin{aligned}
& \text { (864+112) } \div 2, \\
= & 976 \div 2, \\
= & 488 \text { (students). }
\end{aligned}
$$

Answer: Originally, School A had 488 students.
The answer is: 488.