There were originally 240 students in the fifth grade, of which girls accounted for (7/15), and a few girls were transferred later, so that the number of girls accounted for the total number (15/31). How many girls are transferred?
五年级原有学生240人，其中女生占(7/15)，后来又转来几名女生，这样女生人数就占总人数的(15/31)．又转来几名女生？
<gadget id="calculator">7 / 15</gadget>
<output>7/15 = around 0.466667</output>

<gadget id="calculator">1 - (7/15)</gadget>
<output>8/15 = around 0.533333</output>

<gadget id="calculator">240 * (8/15)</gadget>
<output>128</output>

<gadget id="calculator">15 / 31</gadget>
<output>15/31 = around 0.483871</output>

<gadget id="calculator">1 - (15/31)</gadget>
<output>16/31 = around 0.516129</output>

<gadget id="calculator">128 / (16/31)</gadget>
<output>248</output>

<gadget id="calculator">248 - 240</gadget>
<output>8</output>

<result>8</result>