"""simple docstring"""







def 						__UpperCAmelCase       (					UpperCAmelCase_					:       int = 10    ,							UpperCAmelCase_					:       int = 22						)							->    int:

	'''simple docstring'''





	__snake_case    :							Union[str, Any]   	=				range(1    ,							UpperCAmelCase_						)
	__snake_case    :							str   	=				range(1    ,							UpperCAmelCase_						)
	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 typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_flax_available, is_torch_available


_a  :  Any=				{"configuration_speech_encoder_decoder": ["SpeechEncoderDecoderConfig"]}

try:
	if not is_torch_available():
		raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
	pass
else:
	_a  :  Union[str, Any]=				["SpeechEncoderDecoderModel"]

try:
	if not is_flax_available():
		raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
	pass
else:
	_a  :  Tuple=				["FlaxSpeechEncoderDecoderModel"]

if TYPE_CHECKING:
	from .configuration_speech_encoder_decoder import SpeechEncoderDecoderConfig

	try:
		if not is_torch_available():
			raise OptionalDependencyNotAvailable()
	except OptionalDependencyNotAvailable:
		pass
	else:
		from .modeling_speech_encoder_decoder import SpeechEncoderDecoderModel

	try:
		if not is_flax_available():
			raise OptionalDependencyNotAvailable()
	except OptionalDependencyNotAvailable:
		pass
	else:
		from .modeling_flax_speech_encoder_decoder import FlaxSpeechEncoderDecoderModel

else:
	import sys

	_a  :  str=				_LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)





