Solving for the number of items to buy