The class IX students of a certain public school wanted to give a farewell party to the outgoing
students of class X. They decided to purchase two kinds of sweets, one costing Rs. 70 per kg and
the other costing Rs. 84 per kg. They estimated that 36 kg of sweets were needed. If the total
the money spent on sweets was Rs. 2800, find how much sweets of each kind they purchased.