The average weight of 18 boys in a class is 45 kg and that of the remaining 8 boys is 48.75 kg. Find the average weight (in kg) of all the boys in the class.(Correct to two decimal places)