The grain shop originally had a batch of rice and millet, of which rice accounted for (3/5). If (1/10) of the rice was shipped out and 70 kilograms of millet was shipped in, then the amount of rice and millet is the same. How many kilograms of rice and millet are there in total?
粮店原有一批大米和小米，其中大米占(3/5)，如果运出大米的(1/10)，运来小米的70千克，那么大米与小米同样多．原来大米、小米一共有多少千克？
<gadget id="calculator">3 / 5</gadget>
<output>3/5 = around 0.6</output>

<gadget id="calculator">1 / 10</gadget>
<output>1/10 = around 0.1</output>

<gadget id="calculator">1 - (1/10)</gadget>
<output>9/10 = around 0.9</output>

<gadget id="calculator">(3/5) * (9/10)</gadget>
<output>27/50 = around 0.54</output>

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

<gadget id="calculator">(27/50) - (2/5)</gadget>
<output>7/50 = around 0.14</output>

<gadget id="calculator">70 / (7/50)</gadget>
<output>500</output>

<result>500</result>