There is a batch of books distributed to three classes A, B, and C. The ratio of the books assigned by class A to class B is 2:3; the books obtained by class B are those of class C (1/3), and it is known that class A has 40 books. How many books are there in total?
有一批书分给甲、乙、丙三个班．甲分得的书与乙班比是2：3；乙班得的书是丙班的(1/3)，已知甲班得书40本．这批书一共多少本？
<gadget id="calculator">2 / 3</gadget>
<output>2/3 = around 0.666667</output>

<gadget id="calculator">40 / (2/3)</gadget>
<output>60</output>

<gadget id="calculator">1 / 3</gadget>
<output>1/3 = around 0.333333</output>

<gadget id="calculator">60 / (1/3)</gadget>
<output>180</output>

<gadget id="calculator">40 + 60 + 180</gadget>
<output>280</output>

<result>280</result>