<doocs>2160.Minimum Sum of Four Digit Number After Splitting Digits_1.py
def minimumSum( num: int) -> int:
    nums = []
    while num:
        nums.append(num % 10)
        num //= 10
    nums.sort()
    return 10 * (nums[0] + nums[1]) + nums[2] + nums[3]
def sample_funcname ( var_0 : int ) -> int :
    var_2 = [ ]
    while var_0 :
        var_2.append ( var_0 % 10 )
        var_0 //= 10
    var_2.sort ( )
    return 10 * ( var_2 [ 0 ] + var_2 [ 1 ] ) + var_2 [ 2 ] + var_2 [ 3 ]
