There were originally 240 students in the sixth grade, and the girls were boys (7/8). Later, a few girls were transferred. At this time, girls accounted for boys (15/16). How many girls were transferred?
六年级原有学生240名，女生是男生的(7/8)，后来又转来几名女生，这时女生占男生的(15/16)，问转来几名女生？
<gadget id="calculator">8 + 7</gadget>
<output>15</output>

<gadget id="calculator">8 / 15</gadget>
<output>8/15 = around 0.533333</output>

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

<gadget id="calculator">15 + 16</gadget>
<output>31</output>

<gadget id="calculator">16 / 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>