The number of boxes of pears delivered by the fruit shop is half the number of boxes of apples. On average, each box of pears is 28 kilograms, and each box of apples is 22 kilograms. How many kilograms are pears and apples packed in an average box?
水果店运来梨的箱数是苹果箱数的一半，梨平均每箱装28千克，苹果每箱装22千克．梨和苹果平均每箱装多少千克？
<result>24</result>