


'''simple docstring'''


import math


def 		_lowercase   (SCREAMING_SNAKE_CASE       ):




     '''simple docstring'''





     if not isinstance(SCREAMING_SNAKE_CASE					,				SCREAMING_SNAKE_CASE       ):
          __A  :					Optional[Any]						     =       f"Input value of [number={number}] must be an integer"
          raise TypeError(SCREAMING_SNAKE_CASE       )
     if number < 1:
          __A  :					Tuple						     =       f"Input value of [number={number}] must be a positive integer"
          raise ValueError(SCREAMING_SNAKE_CASE       )
     __A  :					Optional[Any]						     =       [number]
     while number != 1:
          if number % 2 == 0:
               __A  :					Optional[int]						     =       math.floor(math.sqrt(SCREAMING_SNAKE_CASE       )       )
          else:
               __A  :					Dict						     =       math.floor(
                   math.sqrt(SCREAMING_SNAKE_CASE       ) * math.sqrt(SCREAMING_SNAKE_CASE       ) * math.sqrt(SCREAMING_SNAKE_CASE       )       )
          sequence.append(SCREAMING_SNAKE_CASE       )
     return sequence


if __name__ == "__main__":
      import doctest

      doctest.testmod()





'''simple docstring'''


from collections import defaultdict


def 		_lowercase   (SCREAMING_SNAKE_CASE = 5       ):




     '''simple docstring'''





     __A  :					int						     =       defaultdict(SCREAMING_SNAKE_CASE       )
     __A  :					Optional[Any]						     =       0

     while True:
          __A  :					List[str]						     =       get_digits(SCREAMING_SNAKE_CASE       )
          freqs[digits].append(SCREAMING_SNAKE_CASE       )

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

          num += 1


def 		_lowercase   (SCREAMING_SNAKE_CASE       ):




     '''simple docstring'''





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


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

