Mom bought 40 pears and 22 apples for Beibei. She ate 5 pears and 2 apples every day. After a few days, there were as many pears as apples?
妈妈给贝贝买了40个梨和22个苹果，她每天吃5个梨和2个苹果，吃了几天剩下的梨和苹果一样多？
<gadget id="calculator">40 - 22</gadget>
<output>18</output>

<gadget id="calculator">5 - 2</gadget>
<output>3</output>

<gadget id="calculator">18 / 3</gadget>
<output>6</output>

<result>6</result>