comefrom: <garvit244>1296_1.py
code: def isPossibleDivide( nums, k):
      from collections import Counter
      count_map = Counter(nums)
      for num in sorted(count_map.keys()):
          if count_map[num] <= 0:
              continue
          for index in range(1, k):
              count_map[num+index] -= count_map[num]
              if count_map[num+index] < 0:
                  return False
      return True
masked: def sample_funcname ( var_0 , var_1 ) :
      from var_2 import var_3
      var_4 = var_3 ( var_0 )
      for var_7 in sorted ( var_4.keys ( ) ) :
          if var_4 [ var_7 ] <= 0 :
              continue
          for var_11 in range ( 1 , var_1 ) :
              var_4 [ var_7 + var_11 ] -= var_4 [ var_7 ]
              if var_4 [ var_7 + var_11 ] < 0 :
                  return False
      return True
  