Applying AI in Retail Management