"""simple docstring"""






def 			UpperCAmelCase__       (				lowerCAmelCase__     :Optional[int]					,		lowerCAmelCase__     :int		) ->    float:
      '''simple docstring'''


      return base * power(__UpperCAmelCase					,		(exponent - 1)		) if exponent else 1


if __name__ == "__main__":
       print("""Raise base to the power of exponent using recursion...""")
       __lowerCAmelCase    :       int					     =int(input("""Enter the base: """).strip())
       __lowerCAmelCase    :       List[Any]					     =int(input("""Enter the exponent: """).strip())
       __lowerCAmelCase    :       Optional[Any]					     =power(base, abs(exponent))
       if exponent < 0:  # power() does not properly deal w/ negative exponents
              __lowerCAmelCase    :       Optional[Any]					     =1 / result
       print(F"""{base} to the power of {exponent} is {result}""")









'''simple docstring'''

import re

from filelock import FileLock


try:
							import nltk

							a  :				Union[str, Any]									=  True
except (ImportError, ModuleNotFoundError):
							a  :				Any									=  False

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


def 		__magic_name__    (	__UpperCAmelCase	)		->					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	)	)

