<doocs>1798.Maximum Number of Consecutive Values You Can Make_1.py
def getMaximumConsecutive( coins: List[int]) -> int:
    res = 1
    for coin in sorted(coins):
        if coin > res:
            break
        res += coin
    return res
def sample_funcname ( var_0 : List [ int ] ) -> int :
    var_4 = 1
    for var_6 in sorted ( var_0 ) :
        if var_6 > var_4 :
            break
        var_4 += var_6
    return var_4
