There were originally 248 students in a science class in a middle school, of which girls accounted for (15/31), and how many girls went to the liberal arts class later, so that the number of girls accounted for the total number of the current science class (7/15), how many girls went to the liberal arts class ?
某中学理科班原有学生248人，其中女生占(15/31)，后来去文科班几名女生，这样女生人数占现在理科班总人数的(7/15)，问去文科班几名女生？
<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">31 - 15</gadget>
<output>16</output>

<gadget id="calculator">15 / 16</gadget>
<output>15/16 = around 0.9375</output>

<gadget id="calculator">15 - 7</gadget>
<output>8</output>

<gadget id="calculator">7 / 8</gadget>
<output>7/8 = around 0.875</output>

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

<gadget id="calculator">248 * (16/31) * (1/16)</gadget>
<output>8</output>

<result>8</result>