The teacher borrows a batch of books from the library. If each person in the class divides 3 books, there will be 12 more books. If each person in the class divides 4 books, there will be 34 books less. How many books did the teacher borrow?
老师从图书馆借来一批书，如果全班每人分3本就多出12本，如果全班每人分4本则少34本．老师借来图书多少本？
<gadget id="calculator">12 + 34</gadget>
<output>46</output>

<gadget id="calculator">4 - 3</gadget>
<output>1</output>

<gadget id="calculator">46 / 1</gadget>
<output>46</output>

<gadget id="calculator">46 * 3</gadget>
<output>138</output>

<gadget id="calculator">138 + 12</gadget>
<output>150</output>

<result>150</result>