comefrom: <doocs>1196.How Many Apples Can You Put into the Basket_1.py
code: def maxNumberOfApples( weight: List[int]) -> int:
      weight.sort()
      ans = 0
      t = 0
      for v in weight:
          if t + v > 5000:
              break
          t += v
          ans += 1
      return ans
masked: def sample_funcname ( var_0 : List [ int ] ) -> int :
      var_0.sort ( )
      var_5 = 0
      var_6 = 0
      for var_7 in var_0 :
          if var_6 + var_7 > 5000 :
              break
          var_6 += var_7
          var_5 += 1
      return var_5
  