Teacher Wang distributed some exercise books to 8 students on average, each with 3 books, and there are 2 books left. How many exercise books did Teacher Wang have?
王老师把一些练习本平均分给8个同学，每人3本，还剩2本，王老师原来有多少本练习本？
<gadget id="calculator">8 * 3</gadget>
<output>24</output>

<gadget id="calculator">24 + 2</gadget>
<output>26</output>

<result>26</result>