




def 							SCREAMING_SNAKE_CASE__       (  snake_case__  :Tuple = 10			,							snake_case__  :Dict = 22     )      ->						Union[str, Any]:
  _lowercase							= range(1			,							_snake_case     )
  _lowercase							= range(1			,							_snake_case     )
  return sum(
      1 for power in powers for base in bases if len(str(base**power     )     ) == power     )


if __name__ == "__main__":
      print(F"""{solution(1_0, 2_2) = }""")






from ....utils import logging


snake_case 				=       logging.get_logger(__name__)





class 				A_				(      UpperCAmelCase	):







       """simple docstring"""





       def __init__(    self	:	Union[str, Any]						,__A	:	int						,__A	:	List[Any]=None						,__A	:	List[str]=2048  )						->					List[Any]:
         _lowercase							= config.__dict__
         _lowercase							= modal_hidden_size
         if num_labels:
           _lowercase							= num_labels