There are a number of students who need accommodation. If there are 4 students in each dormitory, 10 students will not live in the dormitory; if there are 6 students in each dormitory, the last dormitory will not be full. How many students may there be at most? ?
有若干名学生需要住宿，如果每间宿舍住4人，就会有10个人没宿舍住；如果每间宿舍住6人，最后一间宿舍就会住不满，需要住宿的同学最多可能有多少名？
<gadget id="calculator">4 * 7</gadget>
<output>28</output>

<gadget id="calculator">28 + 10</gadget>
<output>38</output>

<result>38</result>