



"""simple docstring"""




from collections import defaultdict


def 	lowercase__  (      _UpperCAmelCase = 5					)  ->      Dict:






      '''simple docstring'''


      lowercase	:   List[Any]											= defaultdict(lowerCAmelCase_					)
      lowercase	:   Union[str, Any]											= 0

      while True:
            lowercase	:   Union[str, Any]											= get_digits(lowerCAmelCase_					)
            freqs[digits].append(lowerCAmelCase_					)

            if len(freqs[digits]					) == max_base:
                  lowercase	:   List[str]											= freqs[digits][0] ** 3
                  return base

            num += 1


def 	lowercase__  (      _UpperCAmelCase					)  ->      Dict:






      '''simple docstring'''


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


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







'''simple docstring'''

from __future__ import annotations




def  _a     (				lowerCAmelCase_						):





      """simple docstring"""



      _snake_case		:						List[str]         =  sorted(lowerCAmelCase_						)
      _snake_case		:						Any         =  len(lowerCAmelCase_						)
      _snake_case		:						List[str]         =  length >> 1
      return (
          (sorted_list[mid_index] + sorted_list[mid_index - 1]) / 2
          if length % 2 == 0
          else sorted_list[mid_index]
      )




def  _a     (				):





      """simple docstring"""



      import doctest

      doctest.testmod()


if __name__ == "__main__":
   main()


