comefrom: <doocs>0714.Best Time to Buy and Sell Stock with Transaction Fee_1.py
code: def maxProfit( prices: List[int], fee: int) -> int:
      f1, f2 = -prices[0], 0
      for price in prices[1:]:
          f1 = max(f1, f2 - price)
          f2 = max(f2, f1 + price - fee)
      return f2
masked: def sample_funcname ( var_0 : List [ int ] , var_3 : int ) -> int :
      var_5 , var_6 = - var_0 [ 0 ] , 0
      for var_8 in var_0 [ 1 : ] :
          var_5 = max ( var_5 , var_6 - var_8 )
          var_6 = max ( var_6 , var_5 + var_8 - var_3 )
      return var_6
  