bag contains red balls and white balls in a ratio of 17:15. Now after putting in several red balls, the ratio of red balls to white balls is 9:5; after putting in several white balls, the ratio of red balls to white balls is 9:8. It is known that the ratio of red balls to white balls is If there are 3 more balls, how many balls are there in the bag?
一个袋子里装有红球和白球，个数之比是17：15．现放入若干个红球后，红球与白球个数之比是9：5；再放入若干个白球后，红球与白球之比是9：8，已知放入的红球比白球多3个，那么袋子里原来共有多少个球．
<gadget id="calculator">27 - 17</gadget>
<output>10</output>

<gadget id="calculator">24 - 15</gadget>
<output>9</output>

<gadget id="calculator">10 - 9</gadget>
<output>1</output>

<gadget id="calculator">3 / 1</gadget>
<output>3</output>

<gadget id="calculator">17 + 15</gadget>
<output>32</output>

<gadget id="calculator">3 * 32</gadget>
<output>96</output>

<result>96</result>