A box contains 4 bags of flour. The total mass of all 4 bags is 6kg. What is the mass of each bag in grams?