A fruit company delivers its fruit in two types of boxes: large and small. A delivery of 2 large boxes and 3 small boxes has a total weight of 50 kilograms. A delivery of 4 large boxes and 8 small boxes has a total weight of 113 kilograms. How much does each type of box weigh?