Added sum_of_min_and_max