


'''simple docstring'''




import re

from filelock import FileLock


try:
				import nltk

				_lowerCAmelCase  :		Any		     =	True
except (ImportError, ModuleNotFoundError):
				_lowerCAmelCase  :		Optional[Any]		     =	False

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

def 			__UpperCamelCase    (    _A    :				str				)    ->      str:




	"""simple docstring"""





	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'''




import math

def 			__UpperCamelCase    (    _A    :				int = 1_00				)    ->      int:




	"""simple docstring"""





	lowerCAmelCase					:    List[Any]      							= sum(i * i for i in range(1					,   n + 1				)				)
	lowerCAmelCase					:    Optional[Any]      							= int(math.pow(sum(range(1					,   n + 1				)				)					,   2				)				)
	return square_of_sum - sum_of_squares


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