






"""simple docstring"""






import re

from filelock import FileLock


try:
  import nltk

  UpperCAmelCase_     :				List[str]        =				True
except (ImportError, ModuleNotFoundError):
  UpperCAmelCase_     :				Optional[int]        =				False

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



def       _A    (__a							)				-> str:
    """simple docstring"""






    re.sub('''<n>'''					,       ''''''					,       __a							)  # 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(__a							)							)










"""simple docstring"""






def       _A    (__a = 1_00							)				-> int:
    """simple docstring"""






    SCREAMING_SNAKE_CASE_   :						int							=	(n * (n + 1) // 2) ** 2
    SCREAMING_SNAKE_CASE_   :						Optional[Any]							=	n * (n + 1) * (2 * n + 1) // 6
    return sum_cubes - sum_squares


if __name__ == "__main__":
  print(f'''{solution() = }''')


