comefrom: <doocs>2240.Number of Ways to Buy Pens and Pencils_1.py
code: def waysToBuyPensPencils( total: int, cost1: int, cost2: int) -> int:
      ans = 0
      for x in range(total // cost1 + 1):
          v = total - x * cost1
          ans += v // cost2 + 1
      return ans
masked: def sample_funcname ( var_0 : int , var_2 : int , var_3 : int ) -> int :
      var_5 = 0
      for var_8 in range ( var_0 // var_2 + 1 ) :
          var_9 = var_0 - var_8 * var_2
          var_5 += var_9 // var_3 + 1
      return var_5
  