The supermarket shipped a batch of potatoes, sold 31% of the total on the first day, and 35% of the total on the second day, and the rest were shipped to schools A and B at a ratio of 3:2, and school A got 510 kilograms. How many kilograms are there in this batch of potatoes?
超市运来一批土豆，第一天卖出总数的31%，第二天卖出总数的35%，剩下的按3：2运往甲、乙两所学校，甲学校得到510千克．这批土豆一共有多少千克？
<gadget id="calculator">3 + 2</gadget>
<output>5</output>

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

<gadget id="calculator">510 / (3/5)</gadget>
<output>850</output>

<gadget id="calculator">31 / 100</gadget>
<output>31/100 = around 0.31</output>

<gadget id="calculator">35 / 100</gadget>
<output>7/20 = around 0.35</output>

<gadget id="calculator">1 - (31/100) - (7/20)</gadget>
<output>17/50 = around 0.34</output>

<gadget id="calculator">850 / (17/50)</gadget>
<output>2_500</output>

<result>2_500</result>