




from collections import defaultdict





def 							lowerCamelCase    (							UpperCAmelCase_	:      int = 5      )->			int:

       """simple docstring"""




       a			   =defaultdict(UpperCAmelCase_      )
       a			   =0

       while True:
              a			   =get_digits(UpperCAmelCase_      )
              freqs[digits].append(UpperCAmelCase_      )

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

              num += 1





def 							lowerCamelCase    (							UpperCAmelCase_	:      int      )->			str:

       """simple docstring"""




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


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






from __future__ import annotations

from typing import Any


class        UpperCAmelCase__				:



     '''simple docstring'''
     def __init__(				self ,    _lowerCAmelCase ,    _lowerCAmelCase	):  # noqa: A002
            a			   =item
            a			   =next



class        UpperCAmelCase__				:



     '''simple docstring'''
     def __init__(				self	):
            a			   =None
            a			   =0
     def        lowerCAmelCase__  (				self ,    _lowerCAmelCase	):
            a			   =Node(_lowerCAmelCase ,    self.head	)
            self.size += 1
     def        lowerCAmelCase__  (				self	):
            # Switched 'self.is_empty()' to 'self.head is None'
            # because mypy was considering the possibility that 'self.head'
            # can be None in below else part and giving error
            if self.head is None:
                   return None
            else:
                   a			   =self.head.item
                   a			   =self.head.next
                   self.size -= 1
                   return item
     def        lowerCAmelCase__  (				self	):
            return self.head is None
     def __str__(				self	):
            if self.is_empty():
                   return ""
            else:
                   a			   =self.head
                   a			   =""""""
                   a			   =[]
                   while iterate:
                          item_list.append(str(iterate.item	)	)
                          a			   =iterate.next

                   a			   =""" --> """.join(_lowerCAmelCase	)

                   return item_str






     def __len__(				self	):
            return self.size
