Xiao Ming goes to the store and buys the same number of red balls and white balls. The original price of 3 red balls is 2 yuan, and the original price of 3 white balls is 5. New Year's discount, both kinds of balls are sold for 1 yuan and 2 balls. As a result, Xiao Ming spent 8 yuan less. Ask, how many balls did Xiao Ming buy in total?
小明到商店买了相同数量的红球和白球，红球原价2元3个，白球原价3元5个．新年优惠，两种球都按1元2个卖，结果小明少花了8元钱．问，小明共买了多少个球？
<gadget id="calculator">2 / 3</gadget>
<output>2/3 = around 0.666667</output>

<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">(2/3) - (1/2)</gadget>
<output>1/6 = around 0.166667</output>

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

<gadget id="calculator">(3/5) - (1/2)</gadget>
<output>1/10 = around 0.1</output>

<gadget id="calculator">(1/6) + (1/10)</gadget>
<output>4/15 = around 0.266667</output>

<gadget id="calculator">8 / (4/15)</gadget>
<output>30</output>

<gadget id="calculator">30 * 2</gadget>
<output>60</output>

<result>60</result>