A study of the time spent shopping in a supermarket for a market basket of 20 specific items showed an approximately uniform distribution between 20…