In a survey of watching cartoons, 40 children were surveyed. Among them, (5/8) watched "Nezha Naohai", (1/4) watched "Little Head Son, Big Head Dad", and 8 children have not watched these two cartoons, how many children have watched both cartoons?
某次调查看动画片情况，调查了40个小朋友，其中看了《哪咤闹海》的占(5/8)，看了《小头儿子大头爸爸》的占(1/4)，还有8个小朋友这两部动画片都没看，这两部动画片都看了的小朋友有多少个？
<gadget id="calculator">5 / 8</gadget>
<output>5/8 = around 0.625</output>

<gadget id="calculator">40 * (5/8)</gadget>
<output>25</output>

<gadget id="calculator">1 / 4</gadget>
<output>1/4 = around 0.25</output>

<gadget id="calculator">40 * (1/4)</gadget>
<output>10</output>

<gadget id="calculator">25 + 10</gadget>
<output>35</output>

<gadget id="calculator">40 - 8</gadget>
<output>32</output>

<gadget id="calculator">35 - 32</gadget>
<output>3</output>

<result>3</result>