There are 400 science books in the school library, which are less than story books (3/8). How many books are there in total?
学校图书馆有科技书400本，比故事书少(3/8)，两种书共有多少本？
<gadget id="calculator">3 / 8</gadget>
<output>3/8 = around 0.375</output>

<gadget id="calculator">1 - (3/8)</gadget>
<output>5/8 = around 0.625</output>

<gadget id="calculator">400 / (5/8)</gadget>
<output>640</output>

<gadget id="calculator">640 + 400</gadget>
<output>1_040</output>

<result>1_040</result>