Mr. Wang brought 700 yuan and bought 10 balls and just ran out. Each volleyball is 60 yuan, and each basketball is 80 yuan. How many of the two kinds of balls did he buy?
王老师带了700元，买10个球正好用完．每个排球60元，每个篮球80元，两种球他各买了几个？
<gadget id="calculator">800 - 700</gadget>
<output>100</output>

<gadget id="calculator">80 - 60</gadget>
<output>20</output>

<gadget id="calculator">100 / 20</gadget>
<output>5</output>

<gadget id="calculator">10 - 5</gadget>
<output>5</output>

<result>5</result>