A certain class bought a number of exercise books with a unit price of 0.5 yuan. If these exercise books are only given to girls, each person can get 15 books on average. If these exercise books are only given to boys, each person can get 10 books on average. The exercise book is distributed to the whole class on average, how much should each person pay?
某班买来单价为0.5元的练习本若干，如果将这些练习本只给女生，平均每人可得15本，如果将这些练习本只给男生，平均每人可得10本，那么将这些练习本平均分给全班同学，每人应付多少钱？
<gadget id="calculator">6 * 0.5</gadget>
<output>3</output>

<result>3</result>