Maximum and minimum sets for some geometric mean values