Kindergarten bought a batch of small balls, red and yellow, of which red balls accounted for (5/8) of the total number of balls, if 3 more yellow balls were added, then red balls accounted for (4/8) of the total number of balls 7) How many balls did the kindergarten buy?
幼儿园买来一批小球，有红、黄两种颜色，其中红球占总球数的(5/8)，如果再增加3个黄球，这时红球占总球数的(4/7)，幼儿园原来买了多少个小球？
<gadget id="calculator">4 / 7</gadget>
<output>4/7 = around 0.571429</output>

<gadget id="calculator">1 - (4/7)</gadget>
<output>3/7 = around 0.428571</output>

<gadget id="calculator">(3/7) / (4/7)</gadget>
<output>3/4 = around 0.75</output>

<gadget id="calculator">5 / 8</gadget>
<output>5/8 = around 0.625</output>

<gadget id="calculator">1 - (5/8)</gadget>
<output>3/8 = around 0.375</output>

<gadget id="calculator">(3/8) / (5/8)</gadget>
<output>3/5 = around 0.6</output>

<gadget id="calculator">(3/4) - (3/5)</gadget>
<output>3/20 = around 0.15</output>

<gadget id="calculator">3 / (3/20) / (5/8)</gadget>
<output>32</output>

<result>32</result>