• + 0 comments

    Python 3 solution:

        arr_sort = sorted(arr)
        print(f'{sum(arr_sort[0:4])} {sum(arr_sort[1:])}')