def       __lowerCAmelCase      (						A_   : int						,	A_   : int						,	A_   : int					)    ->  str:

  if exponent == 1:
    return base
  if exponent % 2 == 0:
    __UpperCAmelCase						    =       _modexpt(__lowerCAmelCase						,	exponent // 2						,	__lowerCAmelCase					) % modulo_value
    return (x * x) % modulo_value
  else:
    return (base * _modexpt(__lowerCAmelCase						,	exponent - 1						,	__lowerCAmelCase					)) % modulo_value




def       __lowerCAmelCase      (						A_   : int = 17_77						,	A_   : int = 18_55						,	A_   : int = 8					)    ->  Union[str, Any]:
  __UpperCAmelCase						    =       base
  for _ in range(1						,	__lowerCAmelCase					):
    __UpperCAmelCase						    =       _modexpt(__lowerCAmelCase						,	__lowerCAmelCase						,	10**digits					)

  return result


if __name__ == "__main__":
       print(F"{solution() = }")




import copy
from dataclasses import dataclass
from pathlib import Path
from typing import Dict, Optional, Union


@dataclass
class 			UpperCAmelCase__    :



  """simple docstring"""






  lowerCAmelCase__		:	Optional[Union[str, Path]]    		= None
  lowerCAmelCase__		:	bool    		= False
  lowerCAmelCase__		:	bool    		= False
  lowerCAmelCase__		:	bool    		= False
  lowerCAmelCase__		:	Optional[Dict]    		= None
  lowerCAmelCase__		:	Optional[str]    		= None
  lowerCAmelCase__		:	bool    		= False
  lowerCAmelCase__		:	bool    		= False
  lowerCAmelCase__		:	bool    		= False
  lowerCAmelCase__		:	bool    		= True
  lowerCAmelCase__		:	Optional[int]    		= None
  lowerCAmelCase__		:	int    		= 1
  lowerCAmelCase__		:	Optional[Union[str, bool]]    		= None
  lowerCAmelCase__		:	bool    		= False
  lowerCAmelCase__		:	Optional[Dict]    		= None
  lowerCAmelCase__		:	Optional[str]    		= None






  def 	_UpperCAmelCase				(				self:			Any   ) -> "DownloadConfig":




    '''simple docstring'''




    return self.__class__(**{k: copy.deepcopy(__lowerCAmelCase   ) for k, v in self.__dict__.items()}   )



