There are 320 story books in the school library, and the number of science and technology books is twice that of story books. Comics are 40 more than the total number of story books and technology books. How many comic books are there?
学校图书馆有故事书320本，科技书是故事书的2倍．连环画比故事书、科技书的总数多40本．连环画有多少本？
<gadget id="calculator">320 * 2</gadget>
<output>640</output>

<gadget id="calculator">320 + 640 + 40</gadget>
<output>1_000</output>

<result>1_000</result>