The rugby team bought a total of 20 rugby balls for the season. the nicer game balls cost $28 each, while the regular practice balls cost one $16 each. if the total bill was $380, how many of each type of ball did they purchase?