Problem Description

Items may be bought in larger packs, but sold not only as the larger pack, but smaller packs out of the larger one.

Solution

Items may be defined for multi-level case breakdown. For example, 24-packs may be sold as 24-packs, 12-packs, 6-packs, or as singles.