A delivery truck is transporting boxes of two sizes: large and small. the large boxes weigh 40pounds each and the small boxes weigh 20 pounds each. There are 120 boxes in all. If the truck is carrying a total of 3700 pounds in boxes, how many of each type of box is it carrying?