JCPenney interview question

How to perform the allocation process?