




'''simple docstring'''



from ...configuration_utils import PretrainedConfig
from ...utils import logging


lowerCamelCase_	 =		logging.get_logger(__name__)

lowerCamelCase_	 =		{
    'facebook/regnet-y-040': 'https://huggingface.co/facebook/regnet-y-040/blob/main/config.json',
}







class 	lowercase_					(				lowerCAmelCase_     ):


   """simple docstring"""

   lowerCamelCase_       						=		'regnet'
   lowerCamelCase_       						=		['x', 'y']



   def __init__(					self      :			Optional[Any]						,   __lowerCamelCase      :			Union[str, Any]=3						,   __lowerCamelCase      :			str=3_2						,   __lowerCamelCase      :			Tuple=[1_2_8, 1_9_2, 5_1_2, 1_0_8_8]						,   __lowerCamelCase      :			str=[2, 6, 1_2, 2]						,   __lowerCamelCase      :			Any=6_4						,   __lowerCamelCase      :			Any="y"						,   __lowerCamelCase      :			int="relu"						,   **__lowerCamelCase      :			Optional[int]						,   ):

      """simple docstring"""
      super().__init__(**lowerCamelCase_					)
      if layer_type not in self.layer_types:
         raise ValueError(F"""layer_type={layer_type} is not one of {",".join(self.layer_types					)}"""					)
      _SCREAMING_SNAKE_CASE =   num_channels
      _SCREAMING_SNAKE_CASE =   embedding_size
      _SCREAMING_SNAKE_CASE =   hidden_sizes
      _SCREAMING_SNAKE_CASE =   depths
      _SCREAMING_SNAKE_CASE =   groups_width
      _SCREAMING_SNAKE_CASE =   layer_type
      _SCREAMING_SNAKE_CASE =   hidden_act
      # always downsample in the first stage
      _SCREAMING_SNAKE_CASE =   True







'''simple docstring'''



def 				SCREAMING_SNAKE_CASE_				(							__A       :				List[Any] ,  __A       :				Dict						)				->				Union[str, Any]:
   if n == 0:
      return 1

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

   else:
      _SCREAMING_SNAKE_CASE =   binary_exponentiation(__A ,  n / 2						)
      return b * b


if __name__ == "__main__":
 try:
  lowerCamelCase_	 =		int(input('Enter Base : ').strip())
  lowerCamelCase_	 =		int(input('Enter Power : ').strip())
 except ValueError:
  print('Invalid literal for integer')

 lowerCamelCase_	 =		binary_exponentiation(BASE, POWER)
 print(f'''{BASE}^({POWER}) : {RESULT}''')

