and B go together to buy a certain commodity. They found that the price of this commodity was n yuan. So they decided to buy n pieces, and agreed to each share half of the total price. When paying, first A pays 10 yuan, then B pays 10 yuan, A pays another 10 yuan, B pays another 10 yuan, ... until A pays 10 yuan a certain time, B only needs to pay less than 10 yuan to pay Clear all the money. Then according to the agreement, how much more does B need to give A?
甲、乙二人结伴去买某件商品若干．他们发现这种商品的标价为n元．于是他们决定买n件，并且约定各自分担全部价钱的一半．付款时，首先由甲付10元，然后乙付10元，甲再付10元，乙再付10元，…直到某次甲付10元后，乙只需要再付不足10元，即可付清全部款项．那么按照约定，乙需要再给甲几元？
<gadget id="calculator">10 + 6</gadget>
<output>16</output>

<gadget id="calculator">16 / 2</gadget>
<output>8</output>

<gadget id="calculator">8 - 6</gadget>
<output>2</output>

<result>2</result>