There are guests at Xiaomi's house, and mother buys fruit to entertain them. I bought 18 apples and several pears, and the number of pears I bought was 1.5 times that of apples, which is 2 less. Please calculate how many pears Xiaomi’s mother bought?
小米家来了客人，妈妈买水果招待他们．买了18个苹果和若干个梨子，买的梨子的个数是苹果的1.5倍还少2个，请算算小米的妈妈买了多少个梨子？
<gadget id="calculator">18 * 1.5</gadget>
<output>27</output>

<gadget id="calculator">27 - 2</gadget>
<output>25</output>

<result>25</result>