


"""simple docstring"""






def 				A_       ( snake_case__ = 10       ,					snake_case__ = 22		)					->  int:
			_UpperCamelCase					:Optional[Any]					     =	range(1       ,					lowerCAmelCase_		)
			_UpperCamelCase					:int					     =	range(1       ,					lowerCAmelCase_		)
			return sum(
			    1 for power in powers for base in bases if len(str(base**power		)		) == power		)


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






"""simple docstring"""






from abc import ABC, abstractmethod
from argparse import ArgumentParser



class     UpperCAmelCase    (	__SCREAMING_SNAKE_CASE  ):



   @staticmethod
   @abstractmethod
   def    __UpperCAmelCase    (       __lowerCamelCase    :	ArgumentParser				):



     """simple docstring"""
     raise NotImplementedError()





   @abstractmethod
   def    __UpperCAmelCase    (       self    :	Optional[Any]				):



     """simple docstring"""
     raise NotImplementedError()





