There are 40-50 students in a class, if they are divided into groups of 8, then there are 3 people in one group; if they are divided into groups of 12, then there are 3 people in a group. Ask for the number of people in this class.
某班在40-50人之间，如分成8人一组，那么有一个小组少3人；如分成12人一组，那么1个小组少3人．求这班人数．
<gadget id="calculator">48 - 3</gadget>
<output>45</output>

<result>45</result>