JCPenney Interview Question

How to perform the allocation process?