comefrom: <doocs>1833.Maximum Ice Cream Bars_1.py
code: def maxIceCream( costs: List[int], coins: int) -> int:
      costs.sort()
      ans = 0
      for c in costs:
          if coins < c:
              break
          else:
              ans += 1
              coins -= c
      return ans
masked: def sample_funcname ( var_0 : List [ int ] , var_1 : int ) -> int :
      var_0.sort ( )
      var_2 = 0
      for var_3 in var_0 :
          if var_1 < var_3 :
              break
          else :
              var_2 += 1
              var_1 -= var_3
      return var_2
  