If a commodity is sold with a 5% reduction in price, a profit of 6,250 yuan can be obtained; if it is sold with a 25% reduction in price, a loss of 1,750 yuan will be obtained. How much is the purchase price of this product?
某种商品，如果减少定价的5%卖出，可得6250元的利润；如果减去定价的25%卖出，就会亏损1750元．问这种商品的购入价是多少元？
<gadget id="calculator">6_250 + 1_750</gadget>
<output>8_000</output>

<gadget id="calculator">25 / 100</gadget>
<output>1/4 = around 0.25</output>

<gadget id="calculator">5 / 100</gadget>
<output>1/20 = around 0.05</output>

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

<gadget id="calculator">8_000 / (1/5)</gadget>
<output>40_000</output>

<gadget id="calculator">1 - (1/20)</gadget>
<output>19/20 = around 0.95</output>

<gadget id="calculator">40_000 * (19/20)</gadget>
<output>38_000</output>

<gadget id="calculator">38_000 - 6_250</gadget>
<output>31_750</output>

<result>31_750</result>