Question 17
Charlie and Danny bought some apple and carrot juices in the supermarket. Charlie bought some brand A apple juices which costs 5 dollars per bottle and some brand B carrot juices which costs 1.5 dollars per bottle, spending a total of 139.5 dollars. Meanwhile, Danny bought some brand C apple juice which costs 4.5 dollars per bottle and some brand D carrot juices which costs 2 dollars per bottle, spending a total of 167 dollars. If it is known the number of fruit juices that each of them bought is the same, then how many brand A apple juices did Charlie buy?