Lekhana purchases rice from two farms and sells it in the market. She bought 84 kg of rice from one farm and 108 kg from the other farm. She wants the rice to be packed in bags, so each bag has rice from only one farm and all bags have the same weight that is a whole number of kg. If she wants to use as few bags as possible, what should the weight of each bag be?