4. There are student Ling † Ren who need accommodation. If each room houses 4 people, then there are still 20 people without accommodation; if each room houses 8 people, then there is one room that is neither empty nor full. Therefore, the number of dormitory rooms is $\qquad$ rooms, and the number of students is $\qquad$ people.
$4.6,44$.
Let the number of dormitories be $x$, and the number of students be $y$ (both $x, y$ are integers). Then
$$
\left\{\begin{array} { l } 
{ y - 2 0 5 .
\end{array}\right.\right.
$$

Therefore, $x=6, y=44$.