


'''simple docstring'''
import re

from filelock import FileLock


try:
  import nltk

  UpperCamelCase__    					=      True
except (ImportError, ModuleNotFoundError):
  UpperCamelCase__    					=      False

if NLTK_AVAILABLE:
  with FileLock('''.lock''') as lock:
    nltk.download('''punkt''', quiet=True)





def 					a__       (					lowerCAmelCase__						)    ->	str:
    re.sub('''<n>'''  ,					''''''  ,					__UpperCAmelCase						)  # remove pegasus newline char
    assert NLTK_AVAILABLE, "nltk must be installed to separate newlines between sentences. (pip install nltk)"
    return "\n".join(nltk.sent_tokenize(__UpperCAmelCase						)						)

"""simple docstring"""






def SCREAMING_SNAKE_CASE__			(   __UpperCAmelCase=2_8_1_2_3 )  ->  Any:
   lowercase__:   Optional[Any]					=      [1] * (limit + 1)

   for i in range(2       ,    int(limit**0.5 ) + 1 ):
      sum_divs[i * i] += i
      for k in range(i + 1       ,    limit // i + 1 ):
         sum_divs[k * i] += k + i

   lowercase__:   Union[str, Any]					=      set()
   lowercase__:   Optional[Any]					=      0

   for n in range(1       ,    limit + 1 ):
      if sum_divs[n] > n:
         abundants.add(__UpperCAmelCase )

      if not any((n - a in abundants) for a in abundants ):
         res += n

   return res


if __name__ == "__main__":
       print(solution())
