<doocs>1503.Last Moment Before All Ants Fall Out of a Plank_1.py
def getLastMoment( n: int, left: List[int], right: List[int]) -> int:
    ans = 0
    for t in left:
        ans = max(ans, t)
    for t in right:
        ans = max(ans, n - t)
    return ans
def sample_funcname ( var_0 : int , var_2 : List [ int ] , var_4 : List [ int ] ) -> int :
    var_6 = 0
    for var_7 in var_2 :
        var_6 = max ( var_6 , var_7 )
    for var_7 in var_4 :
        var_6 = max ( var_6 , var_0 - var_7 )
    return var_6
