My mother asked Congcong to go to the supermarket to buy some fruits. After returning home, my mother asked Congcong how many fruits he bought. Congcong said that all the fruits he bought were pears except for 9 that were not pears. Except for 8 that are not apples, the rest are all apples, except for 7 that are not bananas, the rest are all bananas, and except for 6 that are not hawthorns, the rest are all hawthorns. So how many fruits did Congcong buy?
妈妈让聪聪去超市买一些水果，回家后妈妈问聪聪买了几个水果，聪聪说，自己买的水果除了9个不是梨剩下全是梨．除了8个不是苹果剩下全是苹果，除了7个不是香蕉剩下全是香蕉，除了6个不是山楂剩下全是山楂，那么聪聪到底买了多少个水果？
<gadget id="calculator">9 + 8 + 7 + 6</gadget>
<output>30</output>

<gadget id="calculator">1 - 1</gadget>
<output>0</output>

<gadget id="calculator">1 + 1 + 1 + 0</gadget>
<output>3</output>

<gadget id="calculator">30 / 3</gadget>
<output>10</output>

<result>10</result>