


'''simple docstring'''







def    lowerCAmelCase__ (       lowerCamelCase  :    str						,lowerCamelCase  :    Any     ):
       if n == 0:
              return 1

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

       else:
              _A  :			List[Any]											=      binary_exponentiation(lowerCamelCase						,n / 2     )
              return b * b


if __name__ == "__main__":
   try:
      A   :  Tuple       		=				int(input('''Enter Base : ''').strip())
      A   :  List[str]       		=				int(input('''Enter Power : ''').strip())
   except ValueError:
      print('''Invalid literal for integer''')

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










'''simple docstring'''







from unittest.mock import patch

import datasets
from datasets import Dataset






def    lowerCAmelCase__ (       ):
       _A  :			Optional[int]											=      Dataset.from_dict({'col_1': [3, 2, 0, 1]}     )

       with patch('tqdm.auto.tqdm'     ) as mock_tqdm:
              datasets.disable_progress_bar()
              dset.map(lambda lowerCamelCase     : {"col_2": x["col_1"] + 1}     )
              mock_tqdm.assert_not_called()

              mock_tqdm.reset_mock()

              datasets.enable_progress_bar()
              dset.map(lambda lowerCamelCase     : {"col_2": x["col_1"] + 1}     )
              mock_tqdm.assert_called()






