There were originally 240 students in the fifth grade of the Experimental Primary School, and the ratio of the number of boys and girls was 8:7. Later, a few girls were transferred to this grade. At this time, the ratio of girls to boys was 15:16. How many girls were transferred?
实验小学五年级原有学生240人，男女生人数之比是8：7，后来这个年级又转来几名女生，这时女生和男生的人数之比是15：16，转来多少名女生．
<gadget id="calculator">7 + 8</gadget>
<output>15</output>

<gadget id="calculator">8 / 15</gadget>
<output>8/15 = around 0.533333</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">(8/15) / (16/31)</gadget>
<output>31/30 = around 1.033333</output>

<gadget id="calculator">240 * (31/30)</gadget>
<output>248</output>

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

<result>8</result>