comefrom: <doocs>1953.Maximum Number of Weeks for Which You Can Work_1.py
code: def numberOfWeeks( milestones: List[int]) -> int:
      mx, s = max(milestones), sum(milestones)
      rest = s - mx
      return rest * 2 + 1 if mx > rest + 1 else s
masked: def sample_funcname ( var_0 : List [ int ] ) -> int :
      var_1 , var_2 = max ( var_0 ) , sum ( var_0 )
      var_3 = var_2 - var_1
      return var_3 * 2 + 1 if var_1 > var_3 + 1 else var_2
  