Inventory Balancing with Online Learning