The school bought some books and distributed 275 books to the lower grades, exactly (5/8) the number of books distributed to the middle grades, and the number of books distributed to the middle grades was twice that of the upper grades. How many books are there in total?
学校买来一些图书，分给低年级275本，正好是分给中年级本数的(5/8)，中年级分到的本数又是高年级的2倍，一共有多少本图书？
<gadget id="calculator">5 / 8</gadget>
<output>5/8 = around 0.625</output>

<gadget id="calculator">275 / (5/8)</gadget>
<output>440</output>

<gadget id="calculator">275 / (5/8) / 2</gadget>
<output>220</output>

<gadget id="calculator">440 + 220 + 275</gadget>
<output>935</output>

<result>935</result>