One basket contains 52 apples and the other contains some pears. If 18 pears are taken from the pear basket, then there are 12 fewer pears than apples. How many pears are there in the original pear basket?
一个筐里装有52个苹果，另一个筐里装有一些梨．如果从梨筐里取走18个梨，那么梨就比苹果少12个．原来梨筐里有多少个梨？
<gadget id="calculator">52 - 12</gadget>
<output>40</output>

<gadget id="calculator">18 + 40</gadget>
<output>58</output>

<result>58</result>