Xiaoli has 9 stamps, and Xiaofang's stamps are three times that of Xiaoli. After how many stamps Xiaofang gave to Xiaoli, the two would have the same amount of stamps?
小丽有9张邮票，小方的邮票是小丽的3倍．小方拿给小丽多少张后，两人的邮票就一样多？
<gadget id="calculator">3 - 1</gadget>
<output>2</output>

<gadget id="calculator">2 / 2</gadget>
<output>1</output>

<gadget id="calculator">9 * 1</gadget>
<output>9</output>

<result>9</result>