


'''simple docstring'''



def       _a      (		_lowercase   :      List[str]     ,   _lowercase   :      Optional[Any]    ):





     '''simple docstring'''






     if n == 0:
          return 1

     elif n % 2 == 1:
          return binary_exponentiation(_lowercase     ,   n - 1    ) * a

     else:
          __UpperCAmelCase      :					Optional[Any]    				=     binary_exponentiation(_lowercase     ,   n / 2    )
          return b * b


if __name__ == "__main__":
      try:
            __UpperCAmelCase     :Optional[Any]												=  int(input("Enter Base : ").strip())
            __UpperCAmelCase     :Any												=  int(input("Enter Power : ").strip())
      except ValueError:
            print("Invalid literal for integer")

      __UpperCAmelCase     :Dict												=  binary_exponentiation(BASE, POWER)
      print(f"""{BASE}^({POWER}) : {RESULT}""")



'''simple docstring'''



import re




def       _a      (		_lowercase   :      List[Any]    ):





     '''simple docstring'''






     def docstring_decorator(_lowercase   :      str    ):
          __UpperCAmelCase      :					Tuple    				=     fn.__doc__
          __UpperCAmelCase      :					Tuple    				=     func_doc.split('''\n'''    )
          __UpperCAmelCase      :					Optional[Any]    				=     0
          while i < len(_lowercase    ) and re.search(R'''^\s*Examples?:\s*$'''     ,   lines[i]    ) is None:
               i += 1
          if i < len(_lowercase    ):
               __UpperCAmelCase      :					Optional[int]    				=     example_docstring
               __UpperCAmelCase      :					Tuple    				=     '''\n'''.join(_lowercase    )
          else:
               raise ValueError(
                   F'The function {fn} should have an empty \'Examples:\' in its docstring as placeholder, '
                   F'current docstring is:\n{func_doc}'    )
          __UpperCAmelCase      :					Tuple    				=     func_doc
          return fn

     return docstring_decorator