10. A school uses a sum of money to buy balls. If it only buys volleyballs, it can buy exactly 15. If it only buys basketballs, it can buy exactly 12. Now, using this money, it buys a total of 14 volleyballs and basketballs. The number of volleyballs and basketballs bought differs by only a few.