• + 0 comments
    def miniMaxSum(arr):
        arr.sort()
        a = arr[0] + arr[1] + arr[2] + arr[3]
        b = arr[4] + arr[1] + arr[2] + arr[3]
        print(str(a) + " " + str(b))