


"""simple docstring"""






from collections import defaultdict



def 			A__		(					_UpperCAmelCase    :      int = 5	)							->	int:

	'''simple docstring'''


	snake_case__  :						int		=      defaultdict(_UpperCAmelCase	)
	snake_case__  :						List[str]		=      0

	while True:
		snake_case__  :						Dict		=      get_digits(_UpperCAmelCase	)
		freqs[digits].append(_UpperCAmelCase	)

		if len(freqs[digits]	) == max_base:
			snake_case__  :						Optional[int]		=      freqs[digits][0] ** 3
			return base

		num += 1



def 			A__		(					_UpperCAmelCase    :      int	)							->	str:

	'''simple docstring'''


	return "".join(sorted(str(num**3	)	)	)


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









"""simple docstring"""






from typing import TYPE_CHECKING

from ...utils import (
    OptionalDependencyNotAvailable,
    _LazyModule,
    is_torch_available,
    is_vision_available,
)


lowercase  		=			{
    """configuration_mobilevitv2""": [
        """MOBILEVITV2_PRETRAINED_CONFIG_ARCHIVE_MAP""",
        """MobileViTV2Config""",
        """MobileViTV2OnnxConfig""",
    ],
}


try:
					if not is_torch_available():
										raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
					pass
else:
					lowercase  		=			[
					    """MOBILEVITV2_PRETRAINED_MODEL_ARCHIVE_LIST""",
					    """MobileViTV2ForImageClassification""",
					    """MobileViTV2ForSemanticSegmentation""",
					    """MobileViTV2Model""",
					    """MobileViTV2PreTrainedModel""",
					]

if TYPE_CHECKING:
					from .configuration_mobilevitva import (
					    MOBILEVITV2_PRETRAINED_CONFIG_ARCHIVE_MAP,
					    MobileViTVaConfig,
					    MobileViTVaOnnxConfig,
					)

					try:
										if not is_torch_available():
															raise OptionalDependencyNotAvailable()
					except OptionalDependencyNotAvailable:
										pass
					else:
										from .modeling_mobilevitva import (
										    MOBILEVITV2_PRETRAINED_MODEL_ARCHIVE_LIST,
										    MobileViTVaForImageClassification,
										    MobileViTVaForSemanticSegmentation,
										    MobileViTVaModel,
										    MobileViTVaPreTrainedModel,
										)

else:
					import sys

					lowercase  		=			_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)





