A truck carries a load of 50 boxes;some are 20kg boxes and the rest are 25kg boxes. if the total weight of all boxes is 1175 kg, how many of each type are there?​