5) A class of students is planting a batch of saplings. If each student is given k saplings, there will be 38 left; if each student is allocated 9 saplings, there will be a shortage of 3. Therefore, the class has $\qquad$ students.
41. 



Translate the text above into English, please retain the original text's line breaks and format, and output the translation result directly.