


'''simple docstring'''



def   lowerCamelCase							(_SCREAMING_SNAKE_CASE				:       int						,				_SCREAMING_SNAKE_CASE				:       int       ):
					while a != 0:
										__a   ,    __a      :	int    =  b % a, a
					return b






def   lowerCamelCase							(_SCREAMING_SNAKE_CASE				:       int						,				_SCREAMING_SNAKE_CASE				:       int       ):
					if gcd(_SCREAMING_SNAKE_CASE						,				_SCREAMING_SNAKE_CASE       ) != 1:
										__a      :	List[str]    =  F"""mod inverse of {a!r} and {m!r} does not exist"""
										raise ValueError(_SCREAMING_SNAKE_CASE       )
					__a   ,    __a   ,    __a      :	List[Any]    =  1, 0, a
					__a   ,    __a   ,    __a      :	List[str]    =  0, 1, m
					while va != 0:
										__a      :	Optional[Any]    =  ua // va
										__a   ,    __a   ,    __a   ,    __a   ,    __a   ,    __a      :	Optional[int]    =  (ua - q * va), (ua - q * va), (ua - q * va), va, va, va
					return ua % m







'''simple docstring'''



import re

from filelock import FileLock


try:
	import nltk

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

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






def   lowerCamelCase							(_SCREAMING_SNAKE_CASE				:       str       ):
					re.sub('<n>'						,				''						,				_SCREAMING_SNAKE_CASE       )  # 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(_SCREAMING_SNAKE_CASE       )       )



