



"""simple docstring"""




def 						__snake_case						(      SCREAMING_SNAKE_CASE__	:						Optional[int]						,  SCREAMING_SNAKE_CASE__	:						Any				)  ->   List[Any]:





     '''simple docstring'''

     if n == 0:
          return 1

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

     else:
          _UpperCAmelCase			:	int								=    binary_exponentiation(a_						,  n / 2				)
          return b * b


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

 _lowerCAmelCase				:					List[str]							=							binary_exponentiation(BASE, POWER)
 print(F"{BASE}^({POWER}) : {RESULT}")








from dataclasses import dataclass
from typing import Callable, Optional

import datasets




@dataclass
class 							a_ (						datasets.BuilderConfig		):


							'''simple docstring'''






							__a:	Optional[Callable]     =    None
							__a:	Optional[dict]     =    None
							__a:	Optional[datasets.Features]     =    None

							def      _lowercase       (		self   )					->					Optional[int]:
														'''simple docstring'''

														assert self.generator is not None, "generator must be specified"

														if self.gen_kwargs is None:
																					lowerCAmelCase_										=     {}




class 							a_ (						datasets.GeneratorBasedBuilder		):


							'''simple docstring'''






							__a:	Optional[Any]     =    GeneratorConfig

							def      _lowercase       (		self   )					->					Union[str, Any]:
														'''simple docstring'''

														return datasets.DatasetInfo(features=self.config.features   )

							def      _lowercase       (		self			,			lowercase_   )					->					Dict:
														'''simple docstring'''

														return [datasets.SplitGenerator(name=datasets.Split.TRAIN			,			gen_kwargs=self.config.gen_kwargs   )]






							def      _lowercase       (		self			,			**lowercase_   )					->					Union[str, Any]:
														'''simple docstring'''

														for idx, ex in enumerate(self.config.generator(**lowercase_   )   ):
																					yield idx, ex



