In a class of 150 students, the average weight is 42 kg. If the number of girls increases by 50% and the number of boys becomes two-thirds of its original value, while keeping the total number of students the same, the new average weight of the class becomes 43 kg. It is also observed that the average weight of boys and girls remains the same as before. Find the sum of the average weights of boys and girls.