<doocs>2178.Maximum Split of Positive Even Integers_1.py
def maximumEvenSplit( finalSum: int) -> List[int]:
    if finalSum % 2:
        return []
    i = 2
    ans = []
    while i <= finalSum:
        ans.append(i)
        finalSum -= i
        i += 2
    ans[-1] += finalSum
    return ans
def sample_funcname ( var_0 : int ) -> List [ int ] :
    if var_0 % 2 :
        return [ ]
    var_4 = 2
    var_5 = [ ]
    while var_4 <= var_0 :
        var_5.append ( var_4 )
        var_0 -= var_4
        var_4 += 2
    var_5 [ - 1 ] += var_0
    return var_5
