min max happiness for wish