A product is sold at a reduced price according to the season. If the price is reduced by 10% according to the current price, the profit will still be 12 yuan. If the price is reduced and then sold at a 10% discount, the loss will be 24 yuan. What is the purchase price of this product?
一商品随季节变化降价出售，如果按现定价降价10%，仍可盈利12元，如果降价后再九折出售，就要亏损24元，这件商品的进价是多少元．
<gadget id="calculator">12 + 24</gadget>
<output>36</output>

<gadget id="calculator">90 / 100</gadget>
<output>9/10 = around 0.9</output>

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

<gadget id="calculator">(9/10) * (1/10)</gadget>
<output>9/100 = around 0.09</output>

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

<gadget id="calculator">1 + (-91/100)</gadget>
<output>9/100 = around 0.09</output>

<gadget id="calculator">36 / (9/100)</gadget>
<output>400</output>

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

<gadget id="calculator">400 * (9/10)</gadget>
<output>360</output>

<gadget id="calculator">360 - 12</gadget>
<output>348</output>

<result>348</result>