A pocket with colored balls, the red balls accounted for the total number (7/12), and later put 18 red balls, at this time the red balls accounted for the current total amount (5/6), ask the total number of colored balls in the pocket How many balls are there?
一个装有彩球的口袋，红球占总数量的(7/12)，后来又放进18个红球，这时红球占现在总量的(5/6)，问口袋里原来共有彩球多少个？
<gadget id="calculator">5 / 6</gadget>
<output>5/6 = around 0.833333</output>

<gadget id="calculator">(5/6) / 1</gadget>
<output>5/6 = around 0.833333</output>

<gadget id="calculator">7 / (5/6) / 1</gadget>
<output>42/5 = around 8.4</output>

<gadget id="calculator">(42/5) - (5/6)</gadget>
<output>227/30 = around 7.566667</output>

<gadget id="calculator">(5/6) - (5/6) - (227/30)</gadget>
<output>-227/30 = around -7.566667</output>

<gadget id="calculator">18 / (-227/30) / 12</gadget>
<output>-45/227 = around -0.198238</output>

<gadget id="calculator">18 / (-227/30) / (-45/227)</gadget>
<output>12</output>

<result>12</result>