





def       A__							(   SCREAMING_SNAKE_CASE__ = 10 , SCREAMING_SNAKE_CASE__ = 22)       ->   int:
  __snake_case:						Union[str, Any]			  =						range(1 , SCREAMING_SNAKE_CASE__)
  __snake_case:						Tuple			  =						range(1 , SCREAMING_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(10, 22) = }')













from ...utils import (
    OptionalDependencyNotAvailable,
    is_torch_available,
    is_transformers_available,
    is_transformers_version,
)


try:
      if not (is_transformers_available() and is_torch_available()):
            raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
      from ...utils.dummy_torch_and_transformers_objects import (
          ImageTextPipelineOutput,
          UniDiffuserPipeline,
      )
else:
      from .modeling_text_decoder import UniDiffuserTextDecoder
      from .modeling_uvit import UniDiffuserModel, UTransformeraDModel
      from .pipeline_unidiffuser import ImageTextPipelineOutput, UniDiffuserPipeline






