The weight of a sparrow is 165 g while the weight of the cage it is in is 3 kg 383 g. The weight of the water and food in the cage is 323 g. What is the total weight of the cage with the bird, the food and the water? Express answer in kg and g.